http://blog.51cto.com/liubin0505star/1717473
windows:
wmic bios get serialnumber
linux:
dmidecode
esxi:
esxcli hardware platform get
[转帖]ESXi、Linux、Windows获取机器序列号的方法
原文:https://www.cnblogs.com/jinanxiaolaohu/p/10191912.html