Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

Actual memory and CPU usage of ResourcePool managed object - which one is it

$
0
0

Hi,

 

I'm creating a simple web page with jsp and Web Services SDK for monitoring usage of resouce pools.

I'm getting usage information from ResourcePool MOR using (ResourcePool object).getRuntime().getMemory().getOverallUsage() for memory and (ResourcePool object).getRuntime().getCpu().getOverallUsage() for cpu usage.

But the values returned are not anyhow covered in vSphere Client or vSphere web client. I'm adding consumed and overhead consumed, private and shared from vSphere clients but it does not cover values taken by getOverallUsage. Can you guys tell me what exactly getOverallUsage shows and which value shows real usage? This is quite important thing, because all resource calculations and planning are based on Consumed value from vSphere clients.

To be specific, getOverallUsage returns values higher (depending on resource pool size - I mean number of VMs and child resource pools ) than consumed + overhead consumed but smaller than private + shared.

 

-ald017


Viewing all articles
Browse latest Browse all 1860

Trending Articles



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