Sundaramurthy Blog

July 3, 2010

dmidecode (Linux)

Filed under: Linux — sundar5 @ 11:25 pm

dmidecode:

dmidecode can give you a quick   hardware configuration info  such as

bios
system
baseboard
chassis
processor
memory
cache
connector
slot

etc….

DMI TYPE is used individually or in a comma separated list provide you with targeted information

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

Note: Either you can use type number or information string

Example : Processor

dmidecode -t Processor
dmidecode -t 4

1. Without argument

root# dmidecode -t
dmidecode: option requires an argument — t
Type number or keyword expected
Valid type keywords are:
bios
system
baseboard
chassis
processor
memory
cache
connector
slot

2. processor info

root# dmidecode -t processor
# dmidecode 2.9
SMBIOS 2.5 present.

Handle 0x0004, DMI type 4, 40 bytes
Processor Information
Socket Designation: CPU 0
Type: Central Processor
Family: Xeon MP
Manufacturer: Intel
ID: 7A 06 01 00 FF FB EB BF

3. processor info using type#(4)

root# dmidecode -t 4
# dmidecode 2.9
SMBIOS 2.5 present.

Handle 0x0004, DMI type 4, 40 bytes
Processor Information
Socket Designation: CPU 0
Type: Central Processor
Family: Xeon MP
Manufacturer: Intel
ID: 7A 06 01 00 FF FB EB BF
Signature: Type 0, Family 6, Model 23, Stepping 10
Flags:
….
…..
Version: Intel(R) Xeon(R) CPU           L5420  @ 2.50GHz
Voltage: 1.2 V
External Clock: 1333 MHz
Max Speed: 3400 MHz
Current Speed: 2500 MHz
Status: Populated, Enabled
Upgrade: Socket LGA771
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Part Number: To Be Filled By O.E.M.
Core Count: 4
Core Enabled: 4
Thread Count: 4
Characteristics:
64-bit capable

4. Chassis info

root# dmidecode -t 3

# dmidecode 2.9
SMBIOS 2.5 present.

Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
Manufacturer: HP
Type: Rack Mount Chassis
Lock: Not Present
Version: 1.0
Serial Number: MXQ91800WX
Asset Tag: 529993
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: 0

5.  Memory info

root# dmidecode -t Memory
# dmidecode 2.9
SMBIOS 2.5 present.

Handle 0x002C, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 6

Handle 0x002E, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x002C
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: DIMM
Set: None
Locator: DIMM1 A
Bank Locator: BANK1
Type: DDR2
Type Detail: Other
Speed: 667 MHz (1.5 ns)
Manufacturer: aD00000000000000
Serial Number: 00006018
Asset Tag:
Part Number: 48594D503135315037324350342D59352020

…..

biosdecode:

biosdecode is a command line utility to parses the BIOS memory and prints information about all structures

root # biosdecode
# biosdecode 2.9
BIOS32 Service Directory present.
Revision: 0
Calling Interface Address: 0x000F0010
PCI Interrupt Routing 1.0 present.
Router ID: 00:1f.0
Exclusive IRQs: None

Slot Entry 1: ID 00:00, on-board
Slot Entry 2: ID 00:02, on-board
Slot Entry 3: ID 00:03, on-board
Slot Entry 4: ID 00:04, on-board
Slot Entry 5: ID 00:05, on-board
Slot Entry 6: ID 00:06, on-board
…..
Slot Entry 14: ID 05:00, on-board
Slot Entry 15: ID 06:00, on-board
Slot Entry 16: ID 07:00, slot number 2
Slot Entry 17: ID 08:04, slot number 1
Slot Entry 18: ID 01:00, slot number 4
PNP BIOS 1.0 present.
Event Notification: Not Supported
Real Mode 16-bit Code Address: F000:6DE2
….
16-bit Protected Mode Data Address: 0x000F0000
ACPI 2.0 present.
OEM Identifier: HP
RSD Table 32-bit Address: 0xDFFA0000
XSD Table 64-bit Address: 0x00000000DFFA0100
SMBIOS 2.5 present.
Structure Table Length: 3061 bytes
Structure Table Address: 0x000FC690
Number Of Structures: 65
Maximum Structure Size: 222 bytes

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
Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: