Linux使用dmidecode命令查看BIOS以及SMBIOS、DMI等資訊

來源:互聯網
上載者:User

做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

 
SMBIOS specification 2.7.1 中定義了如下的結構類型:
Type     Description
0     BIOS Information
1     System Information
2     Baseboard (or Module) Information
3     System Enclosure or Chassis
4     Processor Information
5     Memory Controller Information (Obsolete)
6     Memory Module Information (Obsolete)
7     Cache Information
8     Port Connector Information
9     System Slots
10     On Board Devices Information
11     OEM Strings
12     System Configuration Options
13     BIOS Language Information
14     Group Associations
15     System Event Log
16     Physical Memory Array
17     Memory Device
18     32-Bit Memory Error Information
19     Memory Array Mapped Address
20     Memory Device Mapped Address
21     Built-in Pointing Device
22     Portable Battery
23     System Reset
24     Hardware Security
25     System Power Controls
26     Voltage Probe
27     Cooling Device
28     Temperature Probe
29     Electrical Current Probe
30     Out-of-Band Remote Access
31     Boot Integrity Services (BIS) Entry Point
32     System Boot Information
33     64-Bit Memory Error Information
34     Management Device
35     Management Device Component
36     Management Device Threshold Data
37     Memory Channel
38     IPMI Device Information
39     System Power Supply
40     Additional Information
41     Onboard Devices Extended Information
42     Management Controller Host Interface
126     Inactive
127     End-of-Table
128-255     Available for system- and OEM- specific information

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.