1、查看cpu
more?/proc/cpuinfo?|?grep?"model?name" grep?"model?name"?/proc/cpuinfo
(推薦教程:centos使用教程)
2、查看內存
grep?MemTotal?/proc/meminfo grep?MemTotal?/proc/meminfo?|?cut?-f2?-d: free?-m?|grep?"Mem"?|?awk?'{print?$2}'
相關視頻教程推薦:centos使用教程
? 版權聲明
文章版權歸作者所有,未經允許請勿轉載。
THE END
喜歡就支持一下吧
相關推薦