1、单独查看服务器的序列号

[root@localhost ~]# dmidecode -t system | grep 'Serial Number'
Serial Number: 2102310YPY10J30*****

2、单独查看服务器型号

[root@localhost ~]# dmidecode | grep "Product"
Product Name: PowerEdge R730
Product Name: 0WCJNT

3、统一查看服务器SN序列号和型号

[root@localhost ~]# dmidecode | grep "System Information" -A9 | egrep "Manufacturer|Product|Serial"
Manufacturer: Huawei       厂商
Product Name: RH2288 V3             型号
Serial Number: 2102310YPY10J3******      序列号

4、查看内存条信息及使用情况(内存的插槽数,已经使用多少插槽.每条内存多大,下图为16个内存插糟,用了12个插槽,每根内存条16G)

[root@localhost ~]# dmidecode -t memory | grep Size
Size: MB
Size: MB
Size: MB
Size: MB
Size: MB
Size: No Module Installed
Size: MB
Size: No Module Installed
Size: MB
Size: MB
Size: MB
Size: MB
Size: MB
Size: No Module Installed
Size: MB
Size: No Module Installed
05-11 16:59
查看更多