Linux查看BIOS信息:dmidecode命令以及SMBIOS、DMI等

您所在的位置:网站首页 怎么查询bios版本 Linux查看BIOS信息:dmidecode命令以及SMBIOS、DMI等

Linux查看BIOS信息:dmidecode命令以及SMBIOS、DMI等

2023-11-06 17:08| 来源: 网络整理| 查看: 265

做Linux系统底层的测试,有时候需要关注BIOS的信息(包括基本信息、检测到的CPU和内存等)。除了在开机启动时进入到BIOS之外,还可以在Linux系统中直接查看BIOS的信息,一般可以使用dmidecode命令(还有biosdecode命令可参考);另外,在Windows中可以使用“DMIScope”软件(收费软件,笔者未使用过)来查看和修改BIOS。

SMBIOS (System Management BIOS)是主板或系统制造者以标准格式显示产品管理信息所需遵循的统一规范。 DMI (Desktop Management Interface, DMI)就是帮助收集电脑系统信息的管理系统,DMI信息的收集必须在严格遵照SMBIOS规范的前提下进行。 SMBIOS和DMI是由行业指导机构Desktop Management Task Force (DMTF)起草的开放性的技术标准;不过DMTF宣布DMI的生命期在2005年结束了。

使用dmidecode命令时,如果不加任何参数,则打印出所有类型的信息;而加上“-t type_num”或者“-t keywords”可以查看某个类型信息。

dmidecode dmidecode -t 1 dmidecode -t system

详细请参见Linux 系统查看硬件配置信息

SMBIOS specification 2.7.1 中定义了如下的结构类型: TypeDescription0BIOS Information1System Information2Baseboard (or Module) Information3System Enclosure or Chassis4Processor Information5Memory Controller Information (Obsolete)6Memory Module Information (Obsolete)7Cache Information8Port Connector Information9System Slots10On Board Devices Information11OEM Strings12System Configuration Options13BIOS Language Information14Group Associations15System Event Log16Physical Memory Array17Memory Device1832-Bit Memory Error Information19Memory Array Mapped Address20Memory Device Mapped Address21Built-in Pointing Device22Portable Battery23System Reset24Hardware Security25System Power Controls26Voltage Probe27Cooling Device28Temperature Probe29Electrical Current Probe30Out-of-Band Remote Access31Boot Integrity Services (BIS) Entry Point32System Boot Information3364-Bit Memory Error Information34Management Device35Management Device Component36Management Device Threshold Data37Memory Channel38IPMI Device Information39System Power Supply40Additional Information41Onboard Devices Extended Information42Management Controller Host Interface126Inactive127End-of-Table128-255Available for system- and OEM- specific information

 

参考资料:

http://en.wikipedia.org/wiki/System_Management_BIOS

http://en.wikipedia.org/wiki/Desktop_Management_Interface

http://www.joecen.com/2007/04/19/view-bios-operating-system-in-the-dmi-smbios-information/



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3