第一种方法:系统dmesg信息里面[root@test ~]# grep 'DMI' /var/log/dmesg
DMI 2.8 present.
DMI: HP ProLiant DL380p Gen8, BIOS P70 12/20/2013
第二种方法:
安装dmidecode包,使用dmidecode命令查看;[root@test ~]# rpm -qf /usr/sbin/dmidecode
dmidecode-2.11-2.el6.x86_64
[root@test ~]# dmidecode |grep -A4 'System Information'
System Information
Manufacturer: HP
Product Name: ProLiant DL380p Gen8
Version: Not Specified
Serial Number: 6CU421D45V
IBM的机器信息:[root@11 ~]# dmidecode |grep -A5 'System Information'
System Information
Manufacturer: IBM
Product Name: System x3650 M4 -[7915I23]-
Version: 0A
Serial Number: 06FHPC8
UUID: 4D98E368-EC9E-11E1-85D8-6CAE8B1F9F52
[root@11 ~]# grep 'DMI' /var/log/dmesg
DMI 2.7 present.
DMI: IBM System x3650 M4 -[7915I23]-/00W2609, BIOS -[VVE116AUS-1.10]- 06/20/2012