Where are my memory modules located inside an ESXi host?

By | November 7, 2016

I found this very simple one liner for showing which DIMM slots are populated and which ones are free inside an ESXi host.

I have not yet found a way to do this via ESXCLI but this will do for now:

smbiosDump | grep 'Size\|Speed\|Location'

Running the above will produce something similar to the below:

 Size: 0x00018
 ROM Size: 8192 kB
 Max. Speed: 4000 MHz
 Current Speed: 2100 MHz
 Location: 0x00 (Internal, Not Socketed)
 Max. Size: 384 kB
 Current Size: 384 kB
 Location: 0x00 (Internal, Not Socketed)
 Max. Size: 1536 kB
 Current Size: 1536 kB
 Location: 0x00 (Internal, Not Socketed)
 Max. Size: 15360 kB
 Current Size: 15360 kB
 Location: 0x03 (Motherboard)
 Max. Size: 192 GB
 Location: "Cpu1_DimmA1"
 Size: 4 GB
 Speed: 1066 MHz
 Location: "Cpu1_DimmA2"
 Size: 8 GB
 Speed: 1066 MHz
 Location: "Cpu1_DimmA3"
 Size: 8 GB
 Speed: 1066 MHz
 Location: "Cpu1_DimmB1"
 Size: 8 GB
 Speed: 1066 MHz
 Location: "Cpu1_DimmB2"
 Size: 8 GB
 Speed: 1066 MHz
 Location: "Cpu1_DimmB3"
 Size: 8 GB
 Speed: 1066 MHz
 Location: "Cpu1_DimmC1"
 Size: 8 GB
 Speed: 1066 MHz
 Location: "Cpu1_DimmC2"
 Size: 8 GB
 Speed: 1066 MHz
 Location: "Cpu1_DimmC3"
 Size: 8 GB
 Speed: 1066 MHz
 Location: "Cpu1_DimmD1"
 Size: No Memory Installed
 Location: "Cpu1_DimmD2"
 Size: No Memory Installed
 Location: "Cpu1_DimmD3"
 Size: No Memory Installed
 Location: 0x03 (Motherboard)
 Max. Size: 128 GB
 Location: "Cpu2_DimmA1"
 Size: No Memory Installed
 Location: "Cpu2_DimmA2"
 Size: No Memory Installed
 Location: "Cpu2_DimmB1"
 Size: No Memory Installed
 Location: "Cpu2_DimmB2"
 Size: No Memory Installed
 Location: "Cpu2_DimmC1"
 Size: No Memory Installed
 Location: "Cpu2_DimmC2"
 Size: No Memory Installed
 Location: "Cpu2_DimmD1"
 Size: No Memory Installed
 Location: "Cpu2_DimmD2"
 Size: No Memory Installed

A little formatting is required to make this easier to read:

 Location: "Cpu1_DimmA1"
 Size: 4 GB
 Speed: 1066 MHz
 
 Location: "Cpu1_DimmA2"
 Size: 8 GB
 Speed: 1066 MHz
 
 Location: "Cpu1_DimmA3"
 Size: 8 GB
 Speed: 1066 MHz
 
 Location: "Cpu1_DimmB1"
 Size: 8 GB
 Speed: 1066 MHz

etc

Leave a Reply

Your email address will not be published. Required fields are marked *