cat /proc/cpuinfo | grep "processor" | wc -l
# cpu线程
cat /proc/cpuinfo | grep "cores" | uniq
# 源核心数
cat /proc/cpuinfo | grep "model name" | uniq
# 查看超线程
free -h | grep Mem
# 查看运行RAM内存