使用dmidecode可以获取关于机器的诸多信息,比如机器的序列号
[root@dc1db01 ~]# dmidecode -s system-serial-number
processor的主频
[root@dc1db01 ~]# dmidecode -s processor-frequency
MHz
MHz
MHz
MHz
更多的可以有
Valid string keywords are:
bios-vendor
bios-version
bios-release-date
system-manufacturer
system-product-name
system-version
system-serial-number
system-uuid
baseboard-manufacturer
baseboard-product-name
baseboard-version
baseboard-serial-number
baseboard-asset-tag
chassis-manufacturer
chassis-type
chassis-version
chassis-serial-number
chassis-asset-tag
processor-family
processor-manufacturer
processor-version
processor-frequency