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