https://www.jianshu.com/p/6abaea79e0c3
# ipmitool fru list|grep -i "chassis serial"
Chassis Serial : J300****
# dmidecode |grep -i "system information" -A 8
System Information
Manufacturer: 未知
Product Name: 未知
Version: 04
Serial Number: J300****
Wake-up Type: Power Switch
#lshw -c system
description: Rack Mount Chassis
version: 04
serial: J300****
width: 64 bits
[root@localhost:~] esxcli hardware platform get
Platform Information
UUID: 0x0 0xd6 0x2c 0x1b 0x5d 0xc1 0xe4 0x11 0xa3 0xf 0x7c 0xd3 0xa 0x5e 0x88 0xdc
Vendor Name: 未知
Serial Number: J300****
Enclosure Serial Number:J300****
BIOS Asset Tag: sizu
IPMI Supported: true
System Info: #1
Manufacturer: "未知"
Product: "未知"
Version: "07"
Serial: "J300****"vsi
UUID: c740600ad37e009711e8b5b2233e993a
Wake-up: 0x06 (Power Switch)
[root@localhost:~] vsish -e cat /hardware/bios/dmiInfo
System Information (type1) {
Product Name:未知
Vendor Name:未知
Serial Number:J300****
UUID:[0]: 0x00
[1]: 0xd6
[2]: 0x2c
[3]: 0x1b
[4]: 0x5d
[5]: 0xc1
[6]: 0xe4
Version:07
Family:未知
}
PS C:\windows\system32> wmic bios get serialnumber
SerialNumber
J300****