Linux命令之查看cpu个数_核数_内存总数
http://blog.csdn.net/cgwcgw_/article/details/10000053
cpu个数
cat /proc/cpuinfo | grep "physical id" | uniq
cpu核数
cat /proc/cpuinfo | grep "cpu cores" | uniq
内存总数
cat /proc/meminfo | grep MemTotal
硬盘使用情况:df -h
http://blog.csdn.net/cgwcgw_/article/details/10000053
cpu个数
cat /proc/cpuinfo | grep "physical id" | uniq
cpu核数
cat /proc/cpuinfo | grep "cpu cores" | uniq
内存总数
cat /proc/meminfo | grep MemTotal
硬盘使用情况:df -h