One, view Linux server CPU details
Determine the Linux server CPU based on the following
CPUs with the same core ID are Hyper-threading of the same core
CPUs with the same physical ID are the same CPU-encapsulated thread or core
To view the number of physical CPUs
Cat/proc/cpuinfo|grep "Physical ID" |sort|uniq|wc-l
View the/proc/cpuinfo file, intercept the information of the physical ID, sort, de-heavy, count
Number of cores per CPU
Cat/proc/cpuinfo |grep "CPU Cores" |uniq
Number of logical CPUs
Cat/proc/cpuinfo |grep "Processor" |wc-l
The number of logical CPUs is generally equal to the number of physical CPUs x cores, if unequal, indicates that the server supports Hyper-Threading technology
Second, check the memory usage of Linux
Free-m
Third, check the Linux hard disk usage
View hard disk and partition information
Fdisk-l
Check the disk space usage of the file system
Df-h
viewing system I/O performance
iostat-d-x-k 1 10
Too many I/O requests if%util is close to 100%
View the size of a Linux directory
Du-sh xxx
Iv. viewing the average load on Linux
Uptime
Dynamic viewing
Top
V. View other Linux parameters
Monitoring the overall performance of the system
Vmstat 1 4
View System kernel
Uname-a
View the Linux distribution name version number and description information
Lsb_release-a
View the relevant modules that the system has loaded
Lsmod |grep Ip_vs
Find PCI Settings
Lspci |grep ether
Full knowledge of Linux servers