导航

2013年10月14日

摘要: 转自:http://www.cnblogs.com/xd502djj/archive/2011/02/28/1967350.html几个cpumore /proc/cpuinfo |grep "physical id"|uniq|wc -l每个cpu是几核(假设cpu配置相同)more /proc/cpuinfo |grep "physical id"|grep "0"|wc -lcat /proc/cpuinfo | grep processor1. 查看物理CPU的个数#cat /proc/cpuinfo |grep " 阅读全文

posted @ 2013-10-14 11:38 vivi_wind 阅读(238) 评论(0) 推荐(0) 编辑

摘要: 转自:http://blog.163.com/yang_jianli/blog/static/1619900062010391127338/一:查看cpumore /proc/cpuinfo | grep "model name"grep "model name" /proc/cpuinfo如果觉得需要看的更加舒服grep "model name" /proc/cpuinfo | cut -f2 -d:二:查看内存grep MemTotal /proc/meminfogrep MemTotal /proc/meminfo | cut 阅读全文

posted @ 2013-10-14 09:58 vivi_wind 阅读(390) 评论(0) 推荐(0) 编辑