Linux-查看cpu核数和个数、查看内存的命令

jiangtie 2020-01-17

cat /proc/cpuinfo | grep ‘physical id‘ | sort | uniq | wc -l
个数

cat /proc/cpuinfo | grep ‘process‘ | sort | uniq | wc -l
核数

cat /proc/meminfo
查看内存

相关推荐