⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dmidecode.8

📁 linux环境在终端打印出所有smbios信息的代码
💻 8
字号:
.TH DMIDECODE 8 "August 2005" "dmidecode".SH NAMEdmidecode \- \s-1DMI\s0 table decoder.SH SYNOPSIS.B dmidecode.RB [ OPTIONS ].SH DESCRIPTION.B dmidecodeis a tool for dumping a computer's \s-1DMI\s0 (some say \s-1SMBIOS\s0) tablecontents in a human-readable format. This table contains a description of thesystem's hardware components, as well as other useful pieces of informationsuch as serial numbers and \s-1BIOS\s0 revision. Thanks to this table, you canretrieve this information without having to probe for the actual hardware.While this is a good point in terms of report speed and safeness, this alsomakes the presented information possibly unreliable.The \s-1DMI\s0 table doesn't only describe what the system is currently madeof, it also can report the possible evolutions (such as the fastest supported\s-1CPU\s0 or the maximal amount of memory supported).\s-1SMBIOS\s0 stands for System Management \s-1BIOS\s0, while \s-1DMI\s0stands for Desktop Management Interface. Both standards are tightly relatedand developed by the \s-1DMTF\s0 (Desktop Management Task Force).As you run it,.B dmidecodewill try to locate the \s-1DMI\s0 table. If it succeeds, it will then parsethis table and display a list of records like this one:Handle 0x0002    DMI type 2, 8 bytes.    Base Board Information        Manufacturer: Intel        Product Name: C440GX+        Version: 727281-001        Serial Number: INCY92700942Each record has:.IP \(bu "\w'\(bu'u+1n"A handle. This is a unique identifier, which allows records toreference each other. For example, processor records usually referencecache memory records using their handles..IP \(buA type. The \s-1SMBIOS\s0 specification defines different types of elementsa computer can be made of. In this example, the type is 2, whichmeans that the record contains "Base Board Information"..IP \(buA 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'ttake 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 thedisplayed value..IP \(buDecoded values. The information presented of course depends on the typeof record. Here, we learn about the board's manufacturer, model, versionand serial number..SH OPTIONS.TP.BR "-d" ", " "--dev-mem FILE"Read memory from device \fBFILE\fR (default: \fB/dev/mem\fR).TP.BR "-q" ", " "--quiet"Be less verbose. Unknown, inactive and \s-1OEM\s0-specific entries are notdisplayed. Meta-data and handle references are hidden. Mutually exclusivewith \fB--dump\fR..TP.BR "-s" ", " "--string KEYWORD"Only display the value of the \s-1DMI\s0 string identified by \fBKEYWORD\fR.\fBKEYWORD\fR must be a keyword from the following list: \fBbios-vendor\fR,\fBbios-version\fR, \fBbios-release-date\fR,\fBsystem-manufacturer\fR, \fBsystem-product-name\fR,\fBsystem-version\fR, \fBsystem-serial-number\fR,\fBbaseboard-manufacturer\fR, \fBbaseboard-product-name\fR,\fBbaseboard-version\fR, \fBbaseboard-serial-number\fR,\fBbaseboard-asset-tag\fR, \fBchassis-manufacturer\fR,\fBchassis-version\fR, \fBchassis-serial-number\fR,\fBchassis-asset-tag\fR, \fBprocessor-manufacturer\fR,\fBprocessor-version\fR.Each keyword corresponds to a given \s-1DMI\s0 type and a given offsetwithin this entry type.Not all strings may be meaningful or even defined on all systems. Somekeywords may return more than one result on some systems (e.g.\fBprocessor-version\fR on a multi-processor system).If \fBKEYWORD\fR is not provided or not valid, a list of all validkeywords is printed and.B dmidecodeexits with an error.This option cannot be used more than once, and implies \fB--quiet\fR.Mutually exclusive with \fB--type\fR and \fB--dump\fR..TP.BR "-t" ", " "--type TYPE"Only display the entries of type \fBTYPE\fR. \fBTYPE\fR can be either a\s-1DMI\s0 type number, or a comma-separated list of type numbers, or akeyword from the following list: \fBbios\fR, \fBsystem\fR,\fBbaseboard\fR, \fBchassis\fR, \fBprocessor\fR, \fBmemory\fR,\fBcache\fR, \fBconnector\fR, \fBslot\fR. Refer to the DMI TYPES sectionbelow for details.If this option is used more than once, the set of displayed entries will bethe union of all the given types.If \fBTYPE\fR is not provided or not valid, a list of all valid keywordsis printed and.B dmidecodeexits with an error.Mutually exclusive with \fB--string\fR..TP.BR "-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 uponyou. The strings attached to each entry are displayed as bothhexadecimal and \s-1ASCII\s0. This option is mainly useful for debugging.Mutually exclusive with \fB--quiet\fR and \fB--string\fR..TP.BR "-h" ", " "--help"Display usage information and exit.TP.BR "-V" ", " "--version"Display the version and exit.SH "DMI TYPES"The \s-1SMBIOS\s0 specification defines the following \s-1DMI\s0 types:.TSr l__r l.Type	Information0	BIOS1	System2	Base Board3	Chassis4	Processor5	Memory Controller6	Memory Module7	Cache8	Port Connector9	System Slots10	On Board Devices11	OEM Strings12	System Configuration Options13	BIOS Language14	Group Associations15	System Event Log16	Physical Memory Array17	Memory Device18	32-bit Memory Error19	Memory Array Mapped Address20	Memory Device Mapped Address21	Built-in Pointing Device22	Portable Battery23	System Reset24	Hardware Security25	System Power Controls26	Voltage Probe27	Cooling Device28	Temperature Probe29	Electrical Current Probe30	Out-of-band Remote Access31	Boot Integrity Services32	System Boot33	64-bit Memory Error34	Management Device35	Management Device Component36	Management Device Threshold Data37	Memory Channel38	IPMI Device39	Power Supply.TEAdditionally, type 126 is used for disabled entries, type 127 is anend-of-table marker, and types 128 to 255 are for \s-1OEM\s0-specific data..B dmidecodewill display these entries by default, but cannot decode them.Keywords can be used instead of type numbers with \fB--type\fR.Each keyword is equivalent to a list of type numbers:.TSl l__l l.Keyword	Typesbios	0, 13system	1, 12, 15, 23, 32baseboard	2, 10chassis	3processor	4memory	5, 6, 16, 17cache	7connector	8slot	9.TEKeywords are matched case-insensitively. The following command lines are equivalent:.IP \(bu "\w'\(bu'u+1n"dmidecode --type 0 --type 13.IP \(budmidecode --type 0,13.IP \(budmidecode --type bios.IP \(budmidecode --type BIOS.SH FILES.I /dev/mem.SH BUGSMore often than not, information contained in the \s-1DMI\s0 tables is inaccurate,incomplete or simply wrong..SH AUTHORSAlan Cox, Jean Delvare.SH "SEE ALSO".BR biosdecode (8),.BR mem (4),.BR ownership (8),.BR vpddecode (8)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -