The HostListSummaryQuickStats object will probably provide what you are looking for. This is available from HostSystem.
Are you looking for a code sample?
Always looking for c# code samples...
Here's an answer in PowerShell:
Process { $HostView = Get-View $_.Id $Process = "" | Select-Object VMHostName, OverallStatus, OverallCpuUsage, OverallMemoryUsage $Process.VMHostName = $_.Name $Process.OverallStatus = $HostView.Summary.OverallStatus $Process.OverallCpuUsage = $HostView.Summary.Quickstats.OverallCpuUsage $Process.OverallMemoryUsage = $HostView.Summary.Quickstats.OverallMemoryUsage Write-Output $Process }
For more details and output examples, see my blog post about it here: http://halr9000.com/article/492
Hal Rottenberg
Co-Host, PowerScripting Podcast (http://powerscripting.net)