サーバーのよく使うコマンドメモ| dmidecode

2015年5月16日

コマンド サーバー テクノロジー

Summery

システム情報の表示

Construction

$ dmidecode [option]

Option

-d, --dev-mem FILE Read memory from device FILE (default: /dev/mem) -h, --help Display this help text and exit -q, --quiet Less verbose output -s, --string KEYWORD Only display the value of the given DMI string -t, --type TYPE Only display the entries of given type -u, --dump Do not decode the entries --dump-bin FILE Dump the DMI data to a binary file --from-dump FILE Read the DMI data from a binary file -V, --version Display the version and exit</code> <h2>Sample</h2> <code class="lang:sh decode:true " >$ dmidecode # dmidecode 2.12 SMBIOS 2.8 present. 82 structures occupying 3033 bytes. Table at 0x000EC1F0. Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: American Megatrends Inc. Version: 0325 Release Date: 05/04/2014 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 8192 kB Characteristics: PCI is supported APM is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported BIOS ROM is socketed EDD is supported 5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 kB floppy services are supported (int 13h) 3.5"/2.88 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Serial services are supported (int 14h) Printer services are supported (int 17h) ACPI is supported USB legacy is supported BIOS boot specification is supported Targeted content distribution is supported UEFI is supported BIOS Revision: 4.6 Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: ASUS Product Name: All Series Version: System Version Serial Number: System Serial Number UUID: 1E1908C0-D7DA-11DD-B1FB-10C37B94CE04 Wake-up Type: Power Switch SKU Number: All Family: ASUS MB Handle 0x0002, DMI type 2, 15 bytes Base Board Information Manufacturer: ASUSTeK COMPUTER INC. Product Name: Z97M-PLUS Version: Rev X.0x Serial Number: 140525895000160 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 Handle 0x0003, DMI type 3, 25 bytes Chassis Information Manufacturer: To Be Filled By O.E.M. Type: Desktop Lock: Not Present Version: To Be Filled By O.E.M. Serial Number: To Be Filled By O.E.M. Asset Tag: To Be Filled By O.E.M. Boot-up State: Safe Power Supply State: Safe Thermal State: Safe Security Status: None OEM Information: 0x00000000 Height: Unspecified Number Of Power Cords: 1 Contained Elements: 1 <out OF SPEC> (0) SKU Number: To be filled by O.E.M. Handle 0x0004, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: PS/2 Internal Connector Type: None External Reference Designator: PS/2 External Connector Type: PS/2 Port Type: Other Handle 0x0005, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: VGA Internal Connector Type: None External Reference Designator: VGA port External Connector Type: Other Port Type: Other Handle 0x0006, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: USB7_8 Internal Connector Type: None External Reference Designator: USB7_8 External Connector Type: Access Bus (USB) Port Type: USB Handle 0x0007, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: USB3_56 Internal Connector Type: None External Reference Designator: USB3_56 External Connector Type: Access Bus (USB) Port Type: USB Handle 0x0008, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: GbE LAN Internal Connector Type: None External Reference Designator: GbE LAN External Connector Type: RJ-45 Port Type: Network Port Handle 0x0009, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: AUDIO Internal Connector Type: None External Reference Designator: AUDIO External Connector Type: Other Port Type: Audio Port Handle 0x000A, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: DVI Internal Connector Type: None External Reference Designator: DVI port External Connector Type: Other Port Type: Other Handle 0x000B, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: HDMI Internal Connector Type: None External Reference Designator: HDMI port External Connector Type: Other Port Type: Other Handle 0x000C, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: SPDIF_OUT Internal Connector Type: None External Reference Designator: SPDIF_OUT External Connector Type: On Board Sound Input From CD-ROM Port Type: Audio Port Handle 0x000D, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: SATA6G_1 Internal Connector Type: SAS/SATA Plug Receptacle External Reference Designator: Not Specified External Connector Type: None Port Type: SATA Handle 0x000E, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: SATA6G_2 Internal Connector Type: SAS/SATA Plug Receptacle External Reference Designator: Not Specified External Connector Type: None Port Type: SATA Handle 0x000F, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: SATA6G_3 Internal Connector Type: SAS/SATA Plug Receptacle External Reference Designator: Not Specified External Connector Type: None Port Type: SATA Handle 0x0010, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: SATA6G_4 Internal Connector Type: SAS/SATA Plug Receptacle External Reference Designator: Not Specified External Connector Type: None Port Type: SATA Handle 0x0011, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: SATA6G_5 Internal Connector Type: SAS/SATA Plug Receptacle External Reference Designator: Not Specified External Connector Type: None Port Type: SATA Handle 0x0012, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: SATA6G_6 Internal Connector Type: SAS/SATA Plug Receptacle External Reference Designator: Not Specified External Connector Type: None Port Type: SATA Handle 0x0013, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: USB3_12 Internal Connector Type: Access Bus (USB) External Reference Designator: Not Specified External Connector Type: None Port Type: USB Handle 0x0014, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: USB3_34 Internal Connector Type: Access Bus (USB) External Reference Designator: Not Specified External Connector Type: None Port Type: USB Handle 0x0015, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: USB9_10 Internal Connector Type: Access Bus (USB) External Reference Designator: Not Specified External Connector Type: None Port Type: USB Handle 0x0016, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: USB11_12 Internal Connector Type: Access Bus (USB) External Reference Designator: Not Specified External Connector Type: None Port Type: USB Handle 0x0017, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: USB13_14 Internal Connector Type: Access Bus (USB) External Reference Designator: Not Specified External Connector Type: None Port Type: USB Handle 0x0018, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: AAFP Internal Connector Type: Mini Jack (headphones) External Reference Designator: Not Specified External Connector Type: None Port Type: Audio Port Handle 0x0019, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: CPU_FAN Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x001A, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: CHA_FAN1 Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x001B, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: CHA_FAN2 Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x001C, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: COM Internal Connector Type: DB-9 male External Reference Designator: Not Specified External Connector Type: None Port Type: Serial Port 16550A Compatible Handle 0x001D, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: LPT Internal Connector Type: DB-9 male External Reference Designator: Not Specified External Connector Type: None Port Type: Serial Port 16550A Compatible Handle 0x001E, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: TPM Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x001F, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: M.2 Internal Connector Type: SAS/SATA Plug Receptacle External Reference Designator: Not Specified External Connector Type: None Port Type: SATA Handle 0x0020, DMI type 9, 17 bytes System Slot Information Designation: PCIEX16_1 Type: x16 PCI Express Current Usage: Available Length: Long ID: 1 Characteristics: 3.3 V is provided Opening is shared PME signal is supported Bus Address: 0000:01:00.0 Handle 0x0021, DMI type 9, 17 bytes System Slot Information Designation: PCIEX16_2 Type: x16 PCI Express Current Usage: Available Length: Long ID: 2 Characteristics: 3.3 V is provided Opening is shared PME signal is supported Bus Address: 0000:ff:00.0 Handle 0x0022, DMI type 9, 17 bytes System Slot Information Designation: PCI1 Type: 32-bit PCI Current Usage: Available Length: Short ID: 3 Characteristics: 3.3 V is provided Opening is shared PME signal is supported Bus Address: 0000:04:1c.7 Handle 0x0023, DMI type 9, 17 bytes System Slot Information Designation: PCI2 Type: 32-bit PCI Current Usage: Available Length: Short ID: 4 Characteristics: 3.3 V is provided Opening is shared PME signal is supported Bus Address: 0000:04:1d.0 Handle 0x0024, DMI type 10, 8 bytes On Board Device 1 Information Type: Video Status: Enabled Description: To Be Filled By O.E.M. On Board Device 2 Information Type: Ethernet Status: Enabled Description: To Be Filled By O.E.M. Handle 0x0025, DMI type 11, 5 bytes OEM Strings String 1: To Be Filled By O.E.M. String 2: To Be Filled By O.E.M. String 3: Silver String 4: To Be Filled By O.E.M. Handle 0x0026, DMI type 12, 5 bytes System Configuration Options Option 1: To Be Filled By O.E.M. Handle 0x0027, DMI type 24, 5 bytes Hardware Security Power-On Password Status: Disabled Keyboard Password Status: Disabled Administrator Password Status: Disabled Front Panel Reset Status: Disabled Handle 0x0028, DMI type 32, 20 bytes System Boot Information Status: No errors detected Handle 0x0029, DMI type 34, 11 bytes Management Device Description: Nuvoton NCT5538D Type: Other Address: 0x00000295 Address Type: I/O Port Handle 0x002A, DMI type 26, 22 bytes Voltage Probe Description: LM78A Location: </out><out OF SPEC> Status: </out><out OF SPEC> Maximum Value: Unknown Minimum Value: Unknown Resolution: Unknown Tolerance: Unknown Accuracy: Unknown OEM-specific Information: 0x00000000 Nominal Value: Unknown Handle 0x002B, DMI type 36, 16 bytes Management Device Threshold Data Lower Non-critical Threshold: 1 Upper Non-critical Threshold: 2 Lower Critical Threshold: 3 Upper Critical Threshold: 4 Lower Non-recoverable Threshold: 5 Upper Non-recoverable Threshold: 6 Handle 0x002C, DMI type 35, 11 bytes Management Device Component Description: To Be Filled By O.E.M. Management Device Handle: 0x0029 Component Handle: 0x0029 Threshold Handle: 0x002A Handle 0x002D, DMI type 28, 22 bytes Temperature Probe Description: LM78A Location: </out><out OF SPEC> Status: </out><out OF SPEC> Maximum Value: Unknown Minimum Value: Unknown Resolution: Unknown Tolerance: Unknown Accuracy: Unknown OEM-specific Information: 0x00000000 Nominal Value: Unknown Handle 0x002E, DMI type 36, 16 bytes Management Device Threshold Data Lower Non-critical Threshold: 1 Upper Non-critical Threshold: 2 Lower Critical Threshold: 3 Upper Critical Threshold: 4 Lower Non-recoverable Threshold: 5 Upper Non-recoverable Threshold: 6 Handle 0x002F, DMI type 35, 11 bytes Management Device Component Description: To Be Filled By O.E.M. Management Device Handle: 0x0029 Component Handle: 0x002C Threshold Handle: 0x002D Handle 0x0030, DMI type 27, 15 bytes Cooling Device Temperature Probe Handle: 0x002D Type: </out><out OF SPEC> Status: </out><out OF SPEC> Cooling Unit Group: 1 OEM-specific Information: 0x00000000 Nominal Speed: Unknown Or Non-rotating Description: Cooling Dev 1 Handle 0x0031, DMI type 36, 16 bytes Management Device Threshold Data Lower Non-critical Threshold: 1 Upper Non-critical Threshold: 2 Lower Critical Threshold: 3 Upper Critical Threshold: 4 Lower Non-recoverable Threshold: 5 Upper Non-recoverable Threshold: 6 Handle 0x0032, DMI type 35, 11 bytes Management Device Component Description: To Be Filled By O.E.M. Management Device Handle: 0x0029 Component Handle: 0x002F Threshold Handle: 0x0030 Handle 0x0033, DMI type 27, 15 bytes Cooling Device Temperature Probe Handle: 0x002D Type: </out><out OF SPEC> Status: </out><out OF SPEC> Cooling Unit Group: 1 OEM-specific Information: 0x00000000 Nominal Speed: Unknown Or Non-rotating Description: Not Specified Handle 0x0034, DMI type 36, 16 bytes Management Device Threshold Data Lower Non-critical Threshold: 1 Upper Non-critical Threshold: 2 Lower Critical Threshold: 3 Upper Critical Threshold: 4 Lower Non-recoverable Threshold: 5 Upper Non-recoverable Threshold: 6 Handle 0x0035, DMI type 35, 11 bytes Management Device Component Description: To Be Filled By O.E.M. Management Device Handle: 0x0029 Component Handle: 0x0032 Threshold Handle: 0x0033 Handle 0x0036, DMI type 29, 22 bytes Electrical Current Probe Description: ABC Location: </out><out OF SPEC> Status: </out><out OF SPEC> Maximum Value: Unknown Minimum Value: Unknown Resolution: Unknown Tolerance: Unknown Accuracy: Unknown OEM-specific Information: 0x00000000 Nominal Value: Unknown Handle 0x0037, DMI type 36, 16 bytes Management Device Threshold Data Handle 0x0038, DMI type 35, 11 bytes Management Device Component Description: To Be Filled By O.E.M. Management Device Handle: 0x0029 Component Handle: 0x0035 Threshold Handle: 0x0033 Handle 0x0039, DMI type 26, 22 bytes Voltage Probe Description: LM78A Location: Power Unit Status: OK Maximum Value: Unknown Minimum Value: Unknown Resolution: Unknown Tolerance: Unknown Accuracy: Unknown OEM-specific Information: 0x00000000 Nominal Value: Unknown Handle 0x003A, DMI type 28, 22 bytes Temperature Probe Description: LM78A Location: Power Unit Status: OK Maximum Value: Unknown Minimum Value: Unknown Resolution: Unknown Tolerance: Unknown Accuracy: Unknown OEM-specific Information: 0x00000000 Nominal Value: Unknown Handle 0x003B, DMI type 27, 15 bytes Cooling Device Temperature Probe Handle: 0x003A Type: Power Supply Fan Status: OK Cooling Unit Group: 1 OEM-specific Information: 0x00000000 Nominal Speed: Unknown Or Non-rotating Description: Cooling Dev 1 Handle 0x003C, DMI type 29, 22 bytes Electrical Current Probe Description: ABC Location: Power Unit Status: OK Maximum Value: Unknown Minimum Value: Unknown Resolution: Unknown Tolerance: Unknown Accuracy: Unknown OEM-specific Information: 0x00000000 Nominal Value: Unknown Handle 0x003D, DMI type 39, 22 bytes System Power Supply Power Unit Group: 1 Location: To Be Filled By O.E.M. Name: To Be Filled By O.E.M. Manufacturer: To Be Filled By O.E.M. Serial Number: To Be Filled By O.E.M. Asset Tag: To Be Filled By O.E.M. Model Part Number: To Be Filled By O.E.M. Revision: To Be Filled By O.E.M. Max Power Capacity: Unknown Status: Present, OK Type: Switching Input Voltage Range Switching: Auto-switch Plugged: Yes Hot Replaceable: No Input Voltage Probe Handle: 0x0039 Cooling Device Handle: 0x003B Input Current Probe Handle: 0x003C Handle 0x003E, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard IGD Type: Video Status: Enabled Type Instance: 1 Bus Address: 0000:00:02.0 Handle 0x003F, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard LAN Type: Ethernet Status: Enabled Type Instance: 1 Bus Address: 0000:00:19.0 Handle 0x0040, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard 1394 Type: Other Status: Enabled Type Instance: 1 Bus Address: 0000:03:1c.2 Handle 0x0041, DMI type 139, 54 bytes OEM-specific Type Header and Data: 8B 36 41 00 FE DC BA 98 76 54 32 10 04 04 32 55 F8 00 A2 02 A1 00 40 63 06 11 44 30 03 DF 40 B2 00 20 00 73 3C 10 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 Strings: V1394GUID Handle 0x0042, DMI type 4, 42 bytes Processor Information Socket Designation: SOCKET 1150 Type: Central Processor Family: Other Manufacturer: Intel ID: C3 06 03 00 FF FB EB BF Version: Intel(R) Core(TM) i3-4130T CPU @ 2.90GHz Voltage: 1.2 V External Clock: 100 MHz Max Speed: 3900 MHz Current Speed: 2900 MHz Status: Populated, Enabled Upgrade: Socket BGA1155 L1 Cache Handle: 0x0043 L2 Cache Handle: 0x0044 L3 Cache Handle: 0x0045 Serial Number: Not Specified Asset Tag: Fill By OEM Part Number: Fill By OEM Core Count: 2 Core Enabled: 2 Thread Count: 4 Characteristics: 64-bit capable Handle 0x0043, DMI type 7, 19 bytes Cache Information Socket Designation: CPU Internal L1 Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back Location: Internal Installed Size: 128 kB Maximum Size: 128 kB Supported SRAM Types: Synchronous Installed SRAM Type: Synchronous Speed: Unknown Error Correction Type: Parity System Type: Other Associativity: 8-way Set-associative Handle 0x0044, DMI type 7, 19 bytes Cache Information Socket Designation: CPU Internal L2 Configuration: Enabled, Not Socketed, Level 2 Operational Mode: Write Back Location: Internal Installed Size: 512 kB Maximum Size: 512 kB Supported SRAM Types: Synchronous Installed SRAM Type: Synchronous Speed: Unknown Error Correction Type: Single-bit ECC System Type: Unified Associativity: 8-way Set-associative Handle 0x0045, DMI type 7, 19 bytes Cache Information Socket Designation: CPU Internal L3 Configuration: Enabled, Not Socketed, Level 3 Operational Mode: Write Back Location: Internal Installed Size: 3072 kB Maximum Size: 3072 kB Supported SRAM Types: Synchronous Installed SRAM Type: Synchronous Speed: Unknown Error Correction Type: Multi-bit ECC System Type: Unified Associativity: 12-way Set-associative Handle 0x0047, DMI type 16, 23 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 32 GB Error Information Handle: Not Provided Number Of Devices: 4 Handle 0x0048, DMI type 17, 40 bytes Memory Device Array Handle: 0x0047 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 4096 MB Form Factor: DIMM Set: None Locator: DIMM_A1 Bank Locator: BANK 0 Type: DDR3 Type Detail: Synchronous Speed: 1600 MHz Manufacturer: 1311 Serial Number: 55112C4F Asset Tag: 9876543210 Part Number: M2X4G64CB88CHN-DG Rank: 1 Configured Clock Speed: 1600 MHz Minimum voltage: 1.500 V Maximum voltage: 1.500 V Configured voltage: 1.500 V Handle 0x0049, DMI type 17, 40 bytes Memory Device Array Handle: 0x0047 Error Information Handle: Not Provided Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: DIMM Set: None Locator: DIMM_A2 Bank Locator: BANK 1 Type: Unknown Type Detail: None Speed: Unknown Manufacturer: [Empty] Serial Number: [Empty] Asset Tag: Not Specified Part Number: [Empty] Rank: Unknown Configured Clock Speed: Unknown Minimum voltage: Unknown Maximum voltage: Unknown Configured voltage: Unknown Handle 0x004A, DMI type 17, 40 bytes Memory Device Array Handle: 0x0047 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 4096 MB Form Factor: DIMM Set: None Locator: DIMM_B1 Bank Locator: BANK 2 Type: DDR3 Type Detail: Synchronous Speed: 1600 MHz Manufacturer: 1311 Serial Number: C0732B4E Asset Tag: 9876543210 Part Number: M2X4G64CB88CHN-DG Rank: 1 Configured Clock Speed: 1600 MHz Minimum voltage: 1.500 V Maximum voltage: 1.500 V Configured voltage: 1.500 V Handle 0x004B, DMI type 17, 40 bytes Memory Device Array Handle: 0x0047 Error Information Handle: Not Provided Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: DIMM Set: None Locator: DIMM_B2 Bank Locator: BANK 3 Type: Unknown Type Detail: None Speed: Unknown Manufacturer: [Empty] Serial Number: [Empty] Asset Tag: Not Specified Part Number: [Empty] Rank: Unknown Configured Clock Speed: Unknown Minimum voltage: Unknown Maximum voltage: Unknown Configured voltage: Unknown Handle 0x004C, DMI type 19, 31 bytes Memory Array Mapped Address Starting Address: 0x00000000000 Ending Address: 0x001FFFFFFFF Range Size: 8 GB Physical Array Handle: 0x0047 Partition Width: 4 Handle 0x004D, DMI type 20, 35 bytes Memory Device Mapped Address Starting Address: 0x00000000000 Ending Address: 0x000FFFFFFFF Range Size: 4 GB Physical Device Handle: 0x004B Memory Array Mapped Address Handle: 0x004C Partition Row Position: Unknown Interleave Position: 1 Interleaved Data Depth: 2 Handle 0x004E, DMI type 20, 35 bytes Memory Device Mapped Address Starting Address: 0x00100000000 Ending Address: 0x001FFFFFFFF Range Size: 4 GB Physical Device Handle: 0x004B Memory Array Mapped Address Handle: 0x004C Partition Row Position: Unknown Interleave Position: 2 Interleaved Data Depth: 2 Handle 0x004F, DMI type 136, 6 bytes OEM-specific Type Header and Data: 88 06 4F 00 00 00 Handle 0x0050, DMI type 13, 22 bytes BIOS Language Information Language Description Format: Long Installable Languages: 3 en|US|iso8859-1 fr|FR|iso8859-1 zh|CN|unicode Currently Installed Language: en|US|iso8859-1 Handle 0x0052, DMI type 131, 64 bytes OEM-specific Type Header and Data: 83 40 52 00 10 00 00 00 00 00 00 00 00 00 00 00 F8 00 00 00 00 00 00 00 01 00 00 00 01 00 09 00 E8 03 01 00 00 00 00 00 C8 00 00 00 00 00 00 00 00 00 00 00 26 00 00 00 76 50 72 6F 00 00 00 00 Handle 0x0053, DMI type 127, 4 bytes End Of Table

Discription

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 hard‐ ware. While this is a good point in terms of report speed and safeness, this also makes the presented information possibly unreliable. The DMI table doesn't 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). SMBIOS stands for System Management BIOS, while DMI stands for Desktop Management Interface. Both standards are tightly related and developed by the DMTF (Desktop Management Task Force). 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: Handle 0x0002, DMI type 2, 8 bytes. Base Board Information Manufacturer: Intel Product Name: C440GX+ Version: 727281-001 Serial Number: 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 Infor‐ mation". · 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't 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. · Decoded values. The information presented of course depends on the type of record. Here, we learn about the board's manufacturer, model, version and serial number. OPTIONS -d, --dev-mem FILE Read memory from device FILE (default: /dev/mem) -q, --quiet Be less verbose. Unknown, inactive and OEM-specific entries are not displayed. Meta-data and handle references are hidden. -s, --string KEYWORD Only display the value of the DMI string identified by KEYWORD. KEYWORD must be a key‐ word from the following list: bios-vendor, bios-version, bios-release-date, system-man‐ ufacturer, system-product-name, system-version, system-serial-number, system-uuid, baseboard-manufacturer, baseboard-product-name, baseboard-version, base‐ board-serial-number, baseboard-asset-tag, chassis-manufacturer, chassis-type, chas‐ sis-version, chassis-serial-number, chassis-asset-tag, processor-family, processor-man‐ ufacturer, processor-version, processor-frequency. 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 pro‐ vided 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. -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, sys‐ tem, baseboard, chassis, processor, memory, 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. -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. --dump-bin FILE Do not decode the entries, instead dump the DMI data to a file in binary form. The gen‐ erated file is suitable to pass to --from-dump later. --from-dump FILE Read the DMI data from a binary file previously generated using --dump-bin. -h, --help Display usage information and exit -V, --version Display the version and exit Options --string, --type and --dump-bin determine the output format and are mutually exclu‐ sive. Please note in case of dmidecode is run on a system with BIOS that boasts new SMBIOS specifi‐ cation, which is not supported by the tool yet, it will print out relevant message in addition to requested data on the very top of the output. Thus informs the output data is not reliable. DMI TYPES The SMBIOS specification defines the following DMI types: Type Information ──────────────────────────────────────────── 0 BIOS 1 System 2 Baseboard 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 40 Additional Information 41 Onboard Devices Extended Information 42 Management Controller Host Interface 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 vendors have contributed documentation or code for them. Keywords can be used instead of type numbers with --type. Each keyword is equivalent to a list of type numbers: Keyword Types ────────────────────────────── bios 0, 13 system 1, 12, 15, 23, 32 baseboard 2, 10, 41 chassis 3 processor 4 memory 5, 6, 16, 17 cache 7 connector 8 slot 9 Keywords are matched case-insensitively. The following command lines are equivalent: · dmidecode --type 0 --type 13 · dmidecode --type 0,13 · dmidecode --type bios · dmidecode --type BIOS BINARY DUMP FILE FORMAT The binary dump files generated by --dump-bin and read using --from-dump are formatted as fol‐ lows: · The SMBIOS or DMI entry point is located at offset 0x00. It is crafted to hard-code the ta‐ ble address at offset 0x20. · The DMI table is located at offset 0x20. FILES /dev/mem BUGS More often than not, information contained in the DMI tables is inaccurate, incomplete or sim‐ ply wrong. AUTHORS Alan Cox, Jean Delvare SEE ALSO biosdecode(8), mem(4), ownership(8), vpddecode(8) dmidecode March 2012 DMIDECODE(8)

このブログを検索

ごあいさつ

このWebサイトは、独自思考で我が道を行くユゲタの少し尖った思考のTechブログです。 毎日興味がどんどん切り替わるので、テーマはマルチになっています。 もしかしたらアイデアに困っている人の助けになるかもしれません。