Home  >  Article  >  Operation and Maintenance  >  What is the linux configuration command?

What is the linux configuration command?

藏色散人
藏色散人Original
2021-12-14 10:48:2860157browse

Linux view configuration commands include: 1. lscpu command, used to view the number of CPUs; 2. "cat /proc/cpuinfo" command, used to view the number of CPU processes and cores; 3. "free - m" command, used to view the total amount of memory and so on.

What is the linux configuration command?

The operating environment of this article: linux5.9.8 system, Dell G3 computer.

Linux View System Configuration Command

1. Check the number of CPUs:

[root@ifusion ~]# lscpu

2. Check the number of CPU processes and cores:

[root@ifusion ~]# cat /proc/cpuinfo

##3. Check the total memory:

[root@ifusion ~]# free -m

4. Check the disk mounting status:

[root@ifusion ~]# lsblk

5. Check Disk partition status:

[root@ifusion ~]# fdisk -l

6. Check the total disk size:

[root@ifusion ~]# df -h

7. Check the Linux version:

[root@ifusion ~]# cat /etc/redhat-release

##8. Check the system kernel version:

[root@ifusion ~]# uname -r[root@ifusion ~]# uname -a

Recommended study: "

linux video tutorial

"

The above is the detailed content of What is the linux configuration command?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn