查看服务器cpu的总核数

  1. # grep -c 'model name' /proc/cpuinfo  

查看服务器的内存情况

 

  1. free -m