在linux上一般通过dmidecode来获取DMI信息,crash也提供了获取DMI信息的命令,不过内容不会像dmidecode那么详细。
crash> sys -i DMI_BIOS_VENDOR: SeaBIOS DMI_BIOS_VERSION: rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org DMI_BIOS_DATE: 04/01/2014 DMI_BIOS_RELEASE: 0.0 DMI_SYS_VENDOR: QEMU DMI_PRODUCT_NAME: Standard PC (i440FX + PIIX, 1996) DMI_PRODUCT_VERSION: pc-i440fx-6.0 DMI_PRODUCT_SERIAL: DMI_PRODUCT_SKU: DMI_PRODUCT_FAMILY: DMI_CHASSIS_VENDOR: QEMU DMI_CHASSIS_TYPE: 1 DMI_CHASSIS_VERSION: pc-i440fx-6.0 DMI_CHASSIS_SERIAL: DMI_CHASSIS_ASSET_TAG: