Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 236824

Re: How to get provisioned memory in host's view

$
0
0

Thanks LucD for quick response.

 

Yeah I meant the first figure (i.e. 4222 MB in your case).  I actually tried to use "$_.ExtensionData.Summary.Quickstats.StaticMemoryEntitlement" before I post the question.  What I found is that the value of that attribute does not always match what is given by the vSphere Client GUI.  So I am wondering is there any other ways

to calculate it.  I want the result *always match* what vSphere Client GUI reports.

 

For provisioned CPU in host's view, I can do it with

        $cpuProvisionedMHz = $vm.host.CpuTotalMhz / $vm.host.NumCpu * $vm.NumCpu

 

What about provisioned memory in host's view?


Thanks!


Viewing all articles
Browse latest Browse all 236824

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>