#查看CPU的个数cat /proc/cpuinfo |grep "physical id"|sort |uniq|wc -l
#查看CPU的型号cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
#查看内存free -h
#查看磁盘df -h
查看centos的cpu和内存等信息
原文:https://www.cnblogs.com/lavezhang/p/12394725.html