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

做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 中定义了如下的结构类型:
TypeDescription
0BIOS Information
1System Information
2Baseboard (or Module) Information
3System Enclosure or Chassis
4Processor Information
5Memory Controller Information (Obsolete)
6Memory Module Information (Obsolete)
7Cache Information
8Port Connector Information
9System Slots
10On Board Devices Information
11OEM Strings
12System Configuration Options
13BIOS Language Information
14Group Associations
15System Event Log
16Physical Memory Array
17Memory Device
1832-Bit Memory Error Information
19Memory Array Mapped Address
20Memory Device Mapped Address
21Built-in Pointing Device
22Portable Battery
23System Reset
24Hardware Security
25System Power Controls
26Voltage Probe
27Cooling Device
28Temperature Probe
29Electrical Current Probe
30Out-of-Band Remote Access
31Boot Integrity Services (BIS) Entry Point
32System Boot Information
3364-Bit Memory Error Information
34Management Device
35Management Device Component
36Management Device Threshold Data
37Memory Channel
38IPMI Device Information
39System Power Supply
40Additional Information
41Onboard Devices Extended Information
42Management Controller Host Interface
126Inactive
127End-of-Table
128-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/


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值