The command dmidecode is to know hardware and BIOS information, which is explained in the previous article previous article. Here are some BIOS keywords which you can pass to dmidecode command to get more specified information. Each keyword is equivalent to a list of type numbers:
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
Keywords can be used instead of type numbers with –type or -t option.
$ sudo dmidecode -t 0 -t 13
or
$ sudo dmidecode --type bios
- To get information about manufacturer, model,version,family and serial number of the system the command is,
$ sudo dmidecode --type system # dmidecode 3.1 Getting SMBIOS data from sysfs. SMBIOS 2.7 present. Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: LENOVO Product Name: 20351 Version: Lenovo G50-70 Serial Number: 1047297501971 UUID: BE5BA171-A04A-11E4-A961-68F7286EC28A Wake-up Type: Power Switch SKU Number: LENOVO_MT_20351_BU_idea_FM_Lenovo G50-70 Family: IDEAPAD Handle 0x0011, DMI type 15, 29 bytes System Event Log Area Length: 0 bytes Header Start Offset: 0x0000 Header Length: 32 bytes Data Start Offset: 0x0020 Access Method: General-purpose non-volatile data functions Access Address: 0x0000 Status: Valid, Not Full Change Token: 0x12345678 Header Format: OEM-specific Supported Log Type Descriptors: 3 Descriptor 1: POST memory resize Data Format 1: None Descriptor 2: POST error Data Format 2: POST results bitmap Descriptor 3: Log area reset/cleared Data Format 3: None Handle 0x001E, DMI type 32, 20 bytes System Boot Information Status: No errors detected
- To get information about bios fire below command on your terminal,
$ sudo dmidecode --type bios # dmidecode 3.1 Getting SMBIOS data from sysfs. SMBIOS 2.7 present. Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: LENOVO Version: 9ACN29WW Release Date: 10/20/2014 Address: 0xE0000 Runtime Size: 128 kB ROM Size: 4096 kB Characteristics: PCI is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported EDD is supported Japanese floppy for NEC 9800 1.2 MB is supported (int 13h) Japanese floppy for Toshiba 1.2 MB is supported (int 13h) 5.25"/360 kB floppy services are supported (int 13h) 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) 8042 keyboard services are supported (int 9h) CGA/mono video services are supported (int 10h) ACPI is supported USB legacy is supported BIOS boot specification is supported Targeted content distribution is supported UEFI is supported BIOS Revision: 0.29 Firmware Revision: 0.29 Handle 0x0010, DMI type 13, 22 bytes BIOS Language Information Language Description Format: Long Installable Languages: 4 en|US|iso8859-1 fr|CA|iso8859-1 ja|JP|unicode zh|TW|unicode Currently Installed Language: en|US|iso8859-1
- To get information about cache on your system you can fire below command,
$ sudo dmidecode --type cache # dmidecode 3.1 Getting SMBIOS data from sysfs. SMBIOS 2.7 present. Handle 0x000A, DMI type 7, 19 bytes Cache Information Socket Designation: L1 Cache Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back Location: Internal Installed Size: 32 kB Maximum Size: 32 kB Supported SRAM Types: Synchronous Installed SRAM Type: Synchronous Speed: Unknown Error Correction Type: Single-bit ECC System Type: Data Associativity: 8-way Set-associative Handle 0x000B, DMI type 7, 19 bytes Cache Information Socket Designation: L1 Cache Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back Location: Internal Installed Size: 32 kB Maximum Size: 32 kB Supported SRAM Types: Synchronous Installed SRAM Type: Synchronous Speed: Unknown Error Correction Type: Single-bit ECC System Type: Instruction Associativity: 8-way Set-associative Handle 0x000C, DMI type 7, 19 bytes Cache Information Socket Designation: L2 Cache Configuration: Enabled, Not Socketed, Level 2 Operational Mode: Write Back Location: Internal Installed Size: 256 kB Maximum Size: 256 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 0x000D, DMI type 7, 19 bytes Cache Information Socket Designation: L3 Cache 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: Single-bit ECC System Type: Unified Associativity: 12-way Set-associative
- To know information about memory the command is,
$ sudo dmidecode --type memory # dmidecode 3.1 Getting SMBIOS data from sysfs. SMBIOS 2.7 present. Handle 0x0005, DMI type 5, 24 bytes Memory Controller Information Error Detecting Method: None Error Correcting Capabilities: None Supported Interleave: One-way Interleave Current Interleave: One-way Interleave Maximum Memory Module Size: 8192 MB Maximum Total Memory Size: 32768 MB Supported Speeds: Other Supported Memory Types: Other Memory Module Voltage: Unknown Associated Memory Slots: 4 0x0006 0x0007 0x0008 0x0009 Enabled Error Correcting Capabilities: None Handle 0x0006, DMI type 6, 12 bytes Memory Module Information Socket Designation: DIMM0 Bank Connections: None Current Speed: Unknown Type: DIMM Installed Size: Not Installed Enabled Size: Not Installed Error Status: OK Handle 0x0007, DMI type 6, 12 bytes Memory Module Information Socket Designation: DIMM1 Bank Connections: None Current Speed: Unknown Type: DIMM Installed Size: Not Installed Enabled Size: Not Installed Error Status: OK Handle 0x0008, DMI type 6, 12 bytes Memory Module Information Socket Designation: DIMM2 Bank Connections: None Current Speed: Unknown Type: DIMM Installed Size: 4096 MB (Single-bank Connection) Enabled Size: 4096 MB (Single-bank Connection) Error Status: OK Handle 0x0009, DMI type 6, 12 bytes Memory Module Information Socket Designation: DIMM3 Bank Connections: None Current Speed: Unknown Type: DIMM Installed Size: Not Installed Enabled Size: Not Installed Error Status: OK Handle 0x0012, 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: 0x0018 Number Of Devices: 4 Handle 0x0013, DMI type 17, 34 bytes Memory Device Array Handle: 0x0012 Error Information Handle: Not Provided Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: DIMM Set: None Locator: DIMM0 Bank Locator: BANK 0 Type: Unknown Type Detail: Unknown Speed: Unknown Manufacturer: Empty Serial Number: Empty Asset Tag: Unknown Part Number: Empty Rank: Unknown Configured Clock Speed: Unknown Handle 0x0014, DMI type 17, 34 bytes Memory Device Array Handle: 0x0012 Error Information Handle: Not Provided Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: DIMM Set: None Locator: DIMM1 Bank Locator: BANK 1 Type: Unknown Type Detail: Unknown Speed: Unknown Manufacturer: Empty Serial Number: Empty Asset Tag: Unknown Part Number: Empty Rank: Unknown Configured Clock Speed: Unknown Handle 0x0015, DMI type 17, 34 bytes Memory Device Array Handle: 0x0012 Error Information Handle: 0x0017 Total Width: 64 bits Data Width: 64 bits Size: 4096 MB Form Factor: SODIMM Set: None Locator: DIMM2 Bank Locator: BANK 2 Type: DDR3 Type Detail: Synchronous Speed: 1600 MT/s Manufacturer: Unknown Serial Number: 100C2DA8 Asset Tag: Unknown Part Number: RMT3170ME68F9F1600 Rank: 1 Configured Clock Speed: 1600 MT/s Handle 0x0016, DMI type 17, 34 bytes Memory Device Array Handle: 0x0012 Error Information Handle: Not Provided Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: DIMM Set: None Locator: DIMM3 Bank Locator: BANK 3 Type: Unknown Type Detail: Unknown Speed: Unknown Manufacturer: Empty Serial Number: Empty Asset Tag: Unknown Part Number: Empty Rank: Unknown Configured Clock Speed: Unknown
- To know information about your system slot,
$ sudo dmidecode --type slot # dmidecode 3.1 Getting SMBIOS data from sysfs. SMBIOS 2.7 present.
- If you want to get the information about your system’s ports, port connector information and port type the command you can use is,
$ sudo dmidecode --type connector # dmidecode 3.1 Getting SMBIOS data from sysfs. SMBIOS 2.7 present. Handle 0x000E, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J3A1 Internal Connector Type: None External Reference Designator: USB External Connector Type: Access Bus (USB) Port Type: USB Handle 0x000F, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J3A1 Internal Connector Type: None External Reference Designator: USB External Connector Type: Access Bus (USB) Port Type: USB
Now you can pass any BIOS keyword to dmidecode command as elaborated above, and know the information š