CPU个数查看:cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l
查看CPU核数: cat /proc/cpuinfo | grep "core id" | sort | uniq | wc -l
查看线程数:cat /proc/cpuinfo | grep "processor" | sort | uniq | wc -l
CPU个数查看:cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l
查看CPU核数: cat /proc/cpuinfo | grep "core id" | sort | uniq | wc -l
查看线程数:cat /proc/cpuinfo | grep "processor" | sort | uniq | wc -l