1、单独查看服务器的序列号
[[email protected] ~]# dmidecode -t system | grep ‘Serial Number‘ Serial Number: 2102310YPY10J30*****
2、单独查看服务器型号
[[email protected] ~]# dmidecode | grep "Product" Product Name: PowerEdge R730 Product Name: 0WCJNT
3、统一查看服务器SN序列号和型号
[[email protected] ~]# dmidecode | grep "System Information" -A9 | egrep "Manufacturer|Product|Serial" Manufacturer: Huawei 厂商 Product Name: RH2288 V3 型号 Serial Number: 2102310YPY10J3****** 序列号
4、查看内存条信息及使用情况(内存的插槽数,已经使用多少插槽.每条内存多大,下图为16个内存插糟,用了12个插槽,每根内存条16G)
[[email protected] ~]# dmidecode -t memory | grep Size Size: 16384 MB Size: 16384 MB Size: 16384 MB Size: 16384 MB Size: 16384 MB Size: No Module Installed Size: 16384 MB Size: No Module Installed Size: 16384 MB Size: 16384 MB Size: 16384 MB Size: 16384 MB Size: 16384 MB Size: No Module Installed Size: 16384 MB Size: No Module Installed
原文地址:https://www.cnblogs.com/wangzy-tongq/p/11290671.html
时间: 2024-10-09 11:18:09