Linux hardware resource management

A view of the system PCI devices

1 command

lspci

lspci -v

2 Command results and analysis


Second check the CPU

1 command

more /proc/cpuinfo

2 Command results and analysis


There is a corresponding relationship between siblings and cpu cores. If siblings is twice the value of cpu cores, it means that the system supports hyper-threading and hyper-threading is turned on; if siblings and cpu cores are the same, it means that the system does not support hyper-threading, or Hyperthreading is not turned on.

3 Command example

3.1 View the system physical CPU

3.2 View the number of cores in each physical CPU


3.3 View the number of all logical CPUs in the system


 

Three view system memory information

1 Command name

cat /proc/meminfo

2 Command results and analysis


Physical memory about 1GB

Available physical memory is approximately 68096KB

The buffer occupies 124KB

The cache occupies 195220KB

 

Four View disk partition information

1 command

fdisk -l

2 Command result analysis


The system has a 107.4GB disk divided into 6 separate partitions.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326434983&siteId=291194637