Home > Article > Operation and Maintenance > What is the linux configuration command?
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.
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 tutorialThe 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!