cat /proc/cpuinfo | grep 'physical id' | sort | uniq | wc -l 个数 cat /proc/cpuinfo | grep 'process' | sort | uniq | wc -l 核数 cat /proc/meminfo 查看内存 来源:https://www.cnblogs.com/lutt/p/12207635.html 标签 linux系统 cat wc sort grep