喔客新知 知识 3年前 (2017-08-08) 1,178
1 查看CPU1.1 查看CPU个数# cat /proc/cpuinfo | grep "physical id" | uniq | wc -l2 **uniq命令:删除重复行;wc –l命令:统计行数**1.2 查看CPU核数# cat /proc/cpuinfo | grep "cpu cores" | uniqcpu cores : 41.3 查看CPU型号# cat /proc/cpuinfo | grep 'model name' |uniqmodel name : Intel(R) Xeon(R) ...