Check RAM type without opening server

You can use dmidecode in Linux to check various hardware specs such as CPU / memory without having to physically open or power down the server. For example to see the RAM needed:

dmidecode --type memory

SMBIOS 2.5 present.

Handle 0x0012, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 8 GB
Error Information Handle: Not Provided
Number Of Devices: 4

Handle 0x0013, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0012
Error Information Handle: 0xFF01
Total Width: 40968 bits
Data Width: 41032 bits
Size: 1024 MB
Form Factor: DIMM
Set: 1
Locator: J6G1
Bank Locator: DIMM 0
Type: DDR2
Type Detail: Synchronous
Speed: 667 MHz
Manufacturer: Hyundai Electronics
Serial Number: 00006129
Asset Tag: 41420817
Part Number: 48594D503531325537324350382D59352020

Handle 0x0014, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0012
Error Information Handle: 0xFF01
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: 1
Locator: J6G2
Bank Locator: DIMM 1
Type: DDR2
Type Detail: Synchronous
Speed: 667 MHz
Manufacturer: 48spaces
Serial Number: 01234567
Asset Tag: 01234567
Part Number: 012345678901234567890123456789012345

We can see that the motherboard will support up to 8GB RAM over 4 slots and its currently using 2x1GB. We can also see that it needs 667Mhz DDR2 RAM. Shame its only a 32bit machine, maybe we will add another 2x1GB :(

Update 2014:
A quick note of how to accomplish the same from Windows:
wmic MEMORYCHIP get banklabel, capacity, caption, devicelocator, partnumber

You can leave a response, or trackback from your own site.

Leave a Reply