Thursday, August 25, 2011

dmidecode.

I'm was going to upgrade the memory on my server and I was a bit unsure of which type of modules that was supported by the motherboard(DDR2/DDR3?). Couldn't find the manual or type of motherboard. And a second thing is that there is no monitor connected aswell. Well, this is how i solved that.

ssh server

sudo dmidecode --type 17 | more


And voilá!

# dmidecode 2.9
SMBIOS 2.5 present.

Handle 0x0027, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0025
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 72 bits
Size: 1024 MB
Form Factor: DIMM
Set: None
Locator: DIMM0
Bank Locator: BANK0
Type: DDR2
Type Detail: Synchronous
Speed: 400 MHz (2.5 ns)
Manufacturer: Corsair
Serial Number: 00000000
Asset Tag: AssetTagNum0
Part Number: CM2X1024-6400

Using dmi is just great for a purpose like this!

man dmidecode
dmidecode is a tool for dumping a computer's DMI (some say SMBIOS) ta‐
ble contents in a human-readable format. This table contains a descrip‐
tion of the system's hardware components, as well as other useful
pieces of information such as serial numbers and BIOS revision.


No comments:

Post a Comment