1

A view of a VM host gives me the field .Config.ConsoleReservation, but ESXi doesn't have the console any more. The vSphere GUI shows total memory and system memory for ESXi hosts.

How can I get an ESXI host's system (vmkernel) memory?

2 Answers 2

1

This appears to work:

$totalmemoryB = $view.Hardware.MemorySize $totalmemoryMB = [Math]::Round($totalmemoryKB / 1024 / 1024) $limitmemoryMB = $view.SystemResources.Config.MemoryAllocation.Limit $systemmemoryMB = $totalmemoryMB - $limitmemoryMB 
0

Get-Stat -Entity hostname -memory

1
  • This shows statistics for memory usage. It does not give me the number for the system memory. According to the vSphere GUI it's 322.4 MB for the VM host in question. Commented Jun 27, 2013 at 6:06

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.