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

CPU & Memory usage

$
0
0

Hi

 

I'm using this code to get the overall usage of CPU & Memory, but it returns zero. When i try to print name (i.e. myVcHostSystem.name) it prints properly. but when i try to get quickstatistics, it is returning zero. Can anyone help?

 

for each ( myVcHostSystem in cluster.host ) 

    { 

      myClusterOverallCpuUsage += myVcHostSystem.summary.quickStats.overallCpuUsage;

      myClusterOverallMemoryUsage += myVcHostSystem.summary.quickStats.overallMemoryUsage; 

     

    } 


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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