查看物理服务器CPU个数 cat /proc/cpuinfo| grep "physical id"| sort | uniq| wc -l 需要提前安装sysstat,安装指令: yum install sysstat