What physical memory is in my vSphere ESXi host?

If you’re running vSphere on a system you don’t have a vendor-provided out of band management system installed in, aren’t running ESXi 6.0U2+ where physical memory config is visible in the web interface, and you don’t have a monitoring system that tells you, here’s how you can get the physical memory configuration via command line over SSH:

  1. Enable SSH via the fat client (since you’re obviously not running a version with web interface available or you’d have been able to get the memory config from that)
  2. SSH in
  3. Run this:  cim-diagnostic.sh |grep -A21 OMC_PhysicalMemory | egrep “Capacity|Caption”
  4. You’ll get output like this:

Caption = A1
Capacity = 8589934592
Caption = A2
Capacity = 8589934592
Caption = A3
Capacity = 8589934592
Caption = A4
Capacity = 8589934592
Caption = B1
Capacity = 8589934592
Caption = B2
Capacity = 8589934592
Caption = B3
Capacity = 8589934592
Caption = B4
Capacity = 8589934592

 

So the above tells you that you’ve got an 8 GB chip installed in eight slots.  Then, based on model of server, you can figure out what your options are to alter that config.

Leave a Reply

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