用 dmidecode 搜集主机信息

管理主机的序列号等其他资产信息不是一件容易的事,dmidecode 这个免费的工具完全可以搜集到大部分所需要的主机信息。

[root@freelamp dmidecode-2.10]# /usr/local/sbin/dmidecode -s ?

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

Reblog this post [with Zemanta]