首页 > 系统 > Linux > 正文

linux查看硬件信息

2020-05-27 13:13:52
字体:
来源:转载
供稿:网友

   用来查看机器的型号dmidecode |grep Name查看机器各种硬件信息,比如说cpu,内存,网卡等等

  lshw -short|egrep CPU|4GiB DIMM|eth

  lshw -short|grep 4GiB DIMM|wc -l查看磁盘是否是ssd

  /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll|egrep Raw Size|SSD

  查看内存的状态,内存的总量free -g

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表