1查看CPU型号
grep "model name" /proc/cpuinfo |uniq
2查看物理CPU个数
grep "physical id" /proc/cpuinfo |uniq | wc -l
3查看CPU核心数
grep 'core id' /proc/cpuinfo | sort | uniq | wc -l
4查看CPU线程数
rep "processor" /proc/cpuinfo | sort -u |wc -l
查看内存
free -m
查看磁盘
df -Th