Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux to see what the configuration commands are

Shulou Source: shulou.com Published: 2022-05-31 19:56:45 09月22日 Update

Xiaobian to share with you what linux view configuration commands, I believe most people do not know how, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!

Linux view configuration commands are: 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.

Operating environment: Linux 5.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 amount of memory:

[root@ifusion ~]# free -m

4. Check disk mount:

[root@ifusion ~]# lsblk

5. Check the disk partition situation:

[root@ifusion ~]# fdisk -l

6. Check the total disk volume:

[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

The above is "linux view configuration command what" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Tags: Commands configuration total disk article system number memory content situation core version process not much kernel most more environment computer knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info MariaDB Microsoft Huawei Linux