Folder size
Show CPU Usage top
1 Viewing CPUs
1.1 Viewing the number of CPUs
# Cat/proc/cpuinfo | grep "Physical ID" | Uniq | Wc-l
2**uniq Command: delete duplicate rows; wc–l command: Count rows * *
1.2 Viewing CPU Cores
# Cat/proc/cpuinfo | grep "CPU Cores" | Uniq
CPU Cores:4
1.3 View CPU Models
# Cat/proc/cpuinfo | grep ' model name ' |uniq
Model Name:intel (R) Xeon (r) CPU E5630 @ 2.53GHz
Summary: The server has 2 4-core CPUs, Model Intel (R) Xeon (r) CPU E5630 @ 2.53GHz
2 Viewing memory
Cat/proc/meminfo | grep memtotal
2.1 View Total Memory
#cat/proc/meminfo | grep memtotal
memtotal:32941268 KB//Memory 32G
3 Viewing the hard drive
Hard disk usage DF-LH
3.1 Viewing hard disk size
# Fdisk-l | grep Disk
disk/dev/cciss/c0d0:146.7 GB, 146778685440 bytes
Summary: Hard disk size 146.7G, that is, the factory trademark 160G
Linux view CPU memory hard disk folder size