CentOS 一些常用命令
查看cpu # more /proc/cpuinfo | grep “model name” # grep “model name” /proc/cpuinfo 如果觉得需要看的更加舒服 # grep “model name” /proc/cpuinfo | cut -f2 -d: 查看内存 # grep MemTotal /proc/meminfo # grep MemTotal /proc/meminfo | cut -f2 -d: # free -m |grep “Mem” | awk ‘…
阅读全文 »