1、查看CPU
more /proc/cpuinfo | grep "model name"grep "model name" /proc/cpuinfo
(推荐教程:centos使用教程)
2、查看内存
grep MemTotal /proc/meminfogrep MemTotal /proc/meminfo | cut -f2 -d:free -m |grep "Mem" | awk '{print $2}'
相关视频教程推荐:linux视频教程
1、查看CPU
more /proc/cpuinfo | grep "model name"grep "model name" /proc/cpuinfo
(推荐教程:centos使用教程)
2、查看内存
grep MemTotal /proc/meminfogrep MemTotal /proc/meminfo | cut -f2 -d:free -m |grep "Mem" | awk '{print $2}'
相关视频教程推荐:linux视频教程