I’ve a number of machines that needs memory upgrades, I didn’t want to turn them off to see what is inside in order to plan this. Under windows it’s pretty easy, just download and run CPU-Z and you’ll know all there is to know.
I did a lot of searching etc and eventually came across dmidecode, you just run it as root and it parses through /dev/mem and loads the DMI tables, parses them and prints them in human readable form.
It shows a lot of useful information, on my IBM HS20 Blade it shows model, serial, hardware numbers etc. Here is a sample of the memory section:
Handle 0x0017 DMI type 16, 15 bytes. Physical Memory Array Location: Proprietary Add-on Card Use: System Memory Error Correction Type: Multi-bit ECC Maximum Capacity: 16 GB Error Information Handle: Not Provided Number Of Devices: 4 Handle 0x0018 DMI type 17, 21 bytes. Memory Device Array Handle: 0x0017 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 512 MB Form Factor: DIMM Set: 1 Locator: DIMM1 Bank Locator: Slot 1 Type: DDR Type Detail: Synchronous Handle 0x0019 DMI type 17, 21 bytes. Memory Device Array Handle: 0x0017 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 512 MB Form Factor: DIMM Set: 1 Locator: DIMM2 Bank Locator: Slot 2 Type: DDR Type Detail: Synchronous Handle 0x001A DMI type 17, 21 bytes. Memory Device Array Handle: 0x0017 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 512 MB Form Factor: DIMM Set: 2 Locator: DIMM3 Bank Locator: Slot 3 Type: DDR Type Detail: Synchronous Handle 0x001B DMI type 17, 21 bytes. Memory Device Array Handle: 0x0017 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 512 MB Form Factor: DIMM Set: 2 Locator: DIMM4 Bank Locator: Slot 4 Type: DDR Type Detail: Synchronous |
So I have 4 total memory slots, each slot has a 512MB DDR module in it, this means I’ll be throwing it all away and buying new RAM.