[root@wg ~]# cat /proc/cpuinfo | grep "processor" // cpu数量 [root@wg ~]# cat /proc/cpuinfo | grep "physical"