标签:sp div bs linux res ui nbsp ca c
1.查看cpu个数
cat /proc/cpuinfo |grep "physical id" |sort | uniq |wc -l
2
2.查看cpu逻辑个数
cat /proc/cpuinfo |grep "processor"|wc -l
16
3.查看cpu核数
cat /proc/cpuinfo |grep "cores"|uniq
4
4.查看CPU的主频
标签:sp div bs linux res ui nbsp ca c
原文地址:http://www.cnblogs.com/yg_zhang/p/4051866.html