dmidecode - DMI table decoder/DMI表解码器
decoder 英 [ˌdiːˈkəʊdə(r)] 美 [ˌdiːˈkoʊdər] n. (电子信号)解码器,译码器
SYNOPSIS/简介
dmidecode [OPTIONS]/选项 DESCRIPTION/描述
dmidecode is a tool for dumping a computer?. DMI (some say SMBIOS) table
contents in a human-readable format. This table contains a description of
the system?. hardware components, as well as other useful pieces of informa-
tion 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是一个卸载计算机的工具?.dmi(有些称为smbios)以可读格式显示表内容。
这个表包含系统的描述?.硬件组件,以及其他有用的信息,如序列号和BIOS版本。
由于此表,您可以检索此信息,而无需探测实际的硬件。
虽然这是报告速度和安全性方面的一个好点,但这也使得所提供的信息可能不可靠。 The DMI table doesn?. only describe what the system is currently made of, it
also can report the possible evolutions (such as the fastest supported CPU
or the maximal amount of memory supported).
DMI表格没有?。只描述系统当前由什么组成,它还可以报告可能的进展(例如支持最快的CPU或者支持的最大内存量)。 SMBIOS stands for System Management BIOS, while DMI stands for Desktop Man-
agement Interface. Both standards are tightly related and developed by the
DMTF (Desktop Management Task Force).
smbios代表系统管理bios,dmi代表桌面管理界面。
这两个标准紧密相关,由DMTF(桌面管理工作组)开发。 As you run it, dmidecode will try to locate the DMI table. If it succeeds,
it will then parse this table and display a list of records like this one:
运行时,dmidode将尝试定位dmi表。如果成功了,
然后,它将分析此表并显示类似于此表的记录列表: Handle 0x0002, DMI type 2, 8 bytes. Base Board Information
Manufacturer: Intel
Product Name: C440GX+
Version: 727281-001
Serial Number: INCY92700942
0x0002 DMI型手柄,2,8个字节。基地板信息
制造商:英特尔
产品名称:C440GX+
版本:727281-001
编号:INCY92700942 Each record has:/每个记录有: 路 A handle. This is a unique identifier, which allows records to reference
each other. For example, processor records usually reference cache memory
records using their handles.
把手.这是一个唯一的标识符,允许记录相互引用。
例如,处理器记录通常使用其句柄引用缓存内存记录。 路 A type. The SMBIOS specification defines different types of elements a
computer can be made of. In this example, the type is 2, which means that
the record contains "Base Board Information".
一种类型。smbios规范定义了计算机可以使用的不同类型的元素。
在本例中,类型为2,这意味着记录包含“基板信息”。 路 A size. Each record has a 4-byte header (2 for the handle, 1 for the type,
1 for the size), the rest is used by the record data. This value doesn?.
take text strings into account (these are placed at the end of the
record), so the actual length of the record may be (and is often) greater
than the displayed value.
尺寸。每个记录都有一个4字节的头(2个用于句柄,1个用于类型,1个用于大小),
其余的由记录数据使用。这个值没有?将文本字符串考虑在内(这些被放置在记录的末尾),
因此记录的实际长度可以(并且通常)大于显示值。 路 Decoded values. The information presented of course depends on the type of
record. Here, we learn about the board?. manufacturer, model, version and
serial number.
解码后的值。当然,所提供的信息取决于记录的类型。
在这里,我们了解董事会?.制造商、型号、版本和序列号。 OPTIONS/选项
-d, --dev-mem FILE
Read memory from device FILE (default: /dev/mem)
-d, --dev-mem 文件
从设备文件读取内存(默认值:/dev/mem) -q, --quiet/安静的
Be less verbose. Unknown, inactive and OEM-specific entries are not
displayed. Meta-data and handle references are hidden. Mutually
exclusive with --dump.
不要那么冗长。不显示未知、不活动和OEM特定的条目。
元数据和句柄引用是隐藏的。与--dump互斥。 -s, --string KEYWORD/字符串关键字
Only display the value of the DMI string identified by KEYWORD. KEY-
WORD must be a keyword from the following list: bios-vendor, bios-
version, bios-release-date, system-manufacturer, system-product-name,
system-version, system-serial-number, system-uuid, baseboard-manufac-
turer, baseboard-product-name, baseboard-version, baseboard-serial-
number, baseboard-asset-tag, chassis-manufacturer, chassis-type,
chassis-version, chassis-serial-number, chassis-asset-tag, processor-
family, processor-manufacturer, processor-version, processor-fre-
quency. Each keyword corresponds to a given DMI type and a given
offset within this entry type. Not all strings may be meaningful or
even defined on all systems. Some keywords may return more than one
result on some systems (e.g. processor-version on a multi-processor
system). If KEYWORD is not provided or not valid, a list of all
valid keywords is printed and dmidecode exits with an error. This
option cannot be used more than once, and implies --quiet. Mutually
exclusive with --type and --dump.
只有通过关键字显示DMI字符串的价值。关键词必须是以下列表中的关键词:
Bios-vendor,biosversion,bios-release-date,system-manufacturer,system-product-name,
系统-版本,系统-序列号,系统-UUID,基板-制造商,基板-产品-名称,基板-版本,基板-序列号,
基板-资产-标记,底盘-制造商,底盘-类型,
底盘-版本,底盘-序列号,底盘-资产-标记,处理器-制造商,处理器-版本,处理器-频率。
每一个关键词都对应于一个Given DMI类型和一个Given Ofset在这一类型内。
并非所有的弦乐都能在所有的系统中得到体现或确定。一些关键词可能会比一些系统的一个结果
(E.G.处理器-一个多处理器系统的版本)。如果关键词不提供或不有效,则以错误方式打印和输出所有关键词的列表。
这个选项不能比一次使用更多,并且实现安静。与--type和--dump的互相排斥 -t, --type TYPE/类型 类型
Only display the entries of type TYPE. TYPE can be either a DMI type
number, or a comma-separated list of type numbers, or a keyword from
the following list: bios, system, baseboard, chassis, processor, mem-
ory, cache, connector, slot. Refer to the DMI TYPES section below for
details. If this option is used more than once, the set of displayed
entries will be the union of all the given types. If TYPE is not
provided or not valid, a list of all valid keywords is printed and
dmidecode exits with an error. Mutually exclusive with --string.
仅显示类型为的条目。类型可以是dmi类型编号,也可以是以逗号分隔的类型编号列表,
或者是关键字以下列表:BIOS、系统、主板、机箱、处理器、内存、缓存、连接器、插槽。
有关详细信息,请参阅下面的DMI类型部分。如果多次使用此选项,则显示的条目集将是所有给定类型的联合。
如果未提供类型或类型无效,则将打印所有有效关键字的列表,并退出dmidecode并返回错误。与--string互斥。 -u, --dump
Do not decode the entries, dump their contents as hexadecimal
instead. Note that this is still a text output, no binary data will
be thrown upon you. The strings attached to each entry are displayed
as both hexadecimal and ASCII. This option is mainly useful for
debugging. Mutually exclusive with --quiet and --string.
不要解码条目,而是将其内容转储为十六进制。
注意,这仍然是一个文本输出,不会向您抛出任何二进制数据。
附加到每个条目的字符串显示为十六进制和ASCII。
此选项主要用于调试。与--quiet和--string互斥。 -h, --help
Display usage information and exit/显示使用信息并退出 -V, --version
Display the version and exit/显示版本并退出 DMI TYPES/DMI类型
The SMBIOS specification defines the following DMI types:/smbios规范定义了以下dmi类型: Type Information
----------------------------------------
0 BIOS
1 System
2 Base Board
3 Chassis
4 Processor
5 Memory Controller
6 Memory Module
7 Cache
8 Port Connector
9 System Slots
10 On Board Devices
11 OEM Strings
12 System Configuration Options
13 BIOS Language
14 Group Associations
15 System Event Log
16 Physical Memory Array
17 Memory Device
18 32-bit Memory Error
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
32 System Boot
33 64-bit Memory Error
34 Management Device
35 Management Device Component
36 Management Device Threshold Data
37 Memory Channel
38 IPMI Device
39 Power Supply 类型 信息
-------------------------------------------------------------------------------------------
0 Bios
1 系统
2 Base Board
3 底盘
4 处理器
5 记忆控制器
6 记忆模块
7 缓存
8 端口连接器
9 系统槽
10 on board devices
11 OEM弦乐
12 系统配置选项
13 Bios Language
14 集团协会
15 系统事件日志
16 物理记忆阵列
17 记忆装置
18 32位记忆错误
19 记忆阵列映射地址
20 存储器设备映射地址
21 建筑指针设备
22 便携式电池
23 系统复位
24 硬件安全
25 系统功率控制
26 电压探针
27 冷却设备
28 探针温度
29 电流探针
30 Out-of-band remote access
31 Boot Integrity Services
32 系统推进
33 64位记忆误差
34 管理设备
35 管理设备部件
36 管理设备阈值数据
37 记忆频道
38 IPMI设备
39 电力供应
Additionally, type 126 is used for disabled entries and type 127 is an end-
of-table marker. Types 128 to 255 are for OEM-specific data. dmidecode will
display these entries by default, but it can only decode them when the ven-
dors have contributed documentation or code for them.
此外,类型126用于禁用的条目,类型127是表尾标记。128到255类型用于OEM特定的数据。
dMIDECODE意志默认情况下显示这些条目,但当供应商为它们提供文档或代码时,只能对它们进行解码。 Keywords can be used instead of type numbers with --type. Each keyword is
equivalent to a list of type numbers:
可以使用关键字,而不是使用--type的类型号。每个关键字相当于一个类型编号列表: Keyword Types
------------------------------
bios 0, 13
system 1, 12, 15, 23, 32
baseboard 2, 10
chassis 3
processor 4
memory 5, 6, 16, 17
cache 7
connector 8
slot 9
关键字 类型
------------------------------
BIOS 0,13
系统 1、12、15、23、32
踢脚板 2, 10
底盘 3
处理器 4
存储器 5、6、16、17
高速缓存 7
连接器 8
槽 9 Keywords are matched case-insensitively. The following command lines are
equivalent:
关键字是不敏感的匹配大小写。以下命令行等效: 路 dmidecode --type 0 --type 13/dmidecode --类型0 --类型13 路 dmidecode --type 0,13/dmidecode --类型0,13 路 dmidecode --type bios/dmidecode --类型 BIOS 路 dmidecode --type BIOS/dmidecode --类型 BIOS FILES/文件夹
/dev/mem BUGS/漏洞
More often than not, information contained in the DMI tables is inaccurate,
incomplete or simply wrong.
DMI表中包含的信息通常不准确、不完整或完全错误。 AUTHORS/作者
Alan Cox, Jean Delvare SEE ALSO/参照
biosdecode(8), mem(4), ownership(8), vpddecode(8) dmidecode February 2007/二月 DMIDECODE(8)