所有的操作命令基于centos7
1.系統(tǒng)版本
cat /etc/centos-release
2.內(nèi)存
free -hl
3.硬盤
df -hl
fdisk -l
4.CPU信息
cat /proc/cpuinfo | grep name
5.當(dāng)前在線用戶
w
6.啟動(dòng)或登入歷史
last
所有的操作命令基于centos7
cat /etc/centos-release
free -hl
df -hl
fdisk -l
cat /proc/cpuinfo | grep name
w
last