获取Linux主机序列号: dmidecode -t 1

HP-UX中系列命令可以查询序列号:

11.31版本中 machinfo

print_manifest

getconf MACHINE_SERIAL #此命令可直接获取主机的序列号

11.23中

machinfo

print_manifest

getconf MACHINE_SERIAL

11.11中

print_manifest

getconf MACHINE_SERIAL

获取Windows主机的序列号: 在命令提示符执行 wmic bios get serialnumber