标签:centos
1.查看物理cpu个数
grep ‘physical id‘ /proc/cpuinfo | sort -u | wc -l
2.查看核心数量
grep ‘core id‘ /proc/cpuinfo | sort -u | wc -l
3.查看线程数
grep ‘processor‘ /proc/cpuinfo | sort -u | wc -l
4.查看cpu型号
dmidecode -s processor-version
本文出自 “梦想照进现实” 博客,请务必保留此出处http://lookingdream.blog.51cto.com/5177800/1765334
标签:centos
原文地址:http://lookingdream.blog.51cto.com/5177800/1765334