星期日, 5月 02, 2010

利用 dmidecode 查詢主機板相關資訊

在Windows 的系統下, 我們可以利用 PC Wizard 來查看硬體的資訊

那在 Linux 底下呢?
我們可以利用 dmidecode 這個指令來察看

以下是 man 文件的內容
NAME
       dmidecode - DMI table decoder


SYNOPSIS
       dmidecode [OPTIONS]




DESCRIPTION
       dmidecode  is  a  tool  for dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format. This table contains a description of the system's hardware
       components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information  without  having
       to probe for the actual hardware.  While this is a good point in terms of report speed and safeness, this also makes the presented information possibly unreliable.

所以我們可以利用 dmidecode 指令查詢相關資訊
以下是 主機板的資訊




Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: MSI
Product Name: MS-7309
Version: 1.0
Serial Number: To be filled by O.E.M.
Asset Tag: To Be Filled By O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To Be Filled By O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0

所以就可以知道我的主機板是 MSI 的主機板
在從Product Name: 去查詢相對應的主機板型號

^^

趕快記起來

沒有留言: