CentOS7 view hard disk situation
lsblk // patiation on the disk,,
df -h // View the usage of the space
fdisk -l //View partition information tool
cfdisk /dev/sda // View partition
blkid Hard disk //View the label (alias)
du -sh ./* //The current folder size of each folder
free -h //View the size of the memory
cat /proc/cpuinfo| grep "cpu cores"| uniq //View the number of cpu cores
cat /proc/cpuinfo| grep "physical id"|uniq| wc -l //View the number of physical CPUs
cat /proc/cpuinfo| grep "processor"| wc -l //check the number of logical cpu
netstat -ant|awk'/^tcp/ {++S[$NF]} END {for(a in S) print (a,S[a])}' //View the current network connection