ubuntu 查询cpu个数

cat /proc/cpuinfo |grep 'processor' |wc -l

原文地址:https://www.cnblogs.com/chamie/p/9884136.html