Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

How to retrieve available resources in a cluster ?

$
0
0

Hi,

 

I'd like to get available resources in a cluster (free CPU and Memory).

 

I tried with : (resourceCluster = object ClusterComputeResource)

 

var resourceCpu = ressourceCluster.summary.effectiveCpu;
var resourceMemory = ressourceCluster.summary.effectiveMemory;

 

In my logs I have :

 

[2012-12-03 10:16:47.609] [I] CPU Total : 96399
[2012-12-03 10:16:47.609] [I] Mémoire Totale : 163721

 

But I want available resources not the amount of resources... In red what I want :

 

resources.png


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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