Hi All,
I wrote below script to get Current CPU & Memory Usage on HostSystem in VCO 5.5, but below code always returns 0. Can someone help to resolve ? Is there any other way to get the Current Usage/Utilization ?
var myClusterOverallCpuUsage=0;
var myClusterOverallMemoryUsage=0;
var myVcHostSystem = VcPlugin.allHostSystems
myClusterOverallCpuUsage = myVcHostSystem[0].summary.quickStats.overallCpuUsage;
myClusterOverallMemoryUsage = myVcHostSystem[0].summary.quickStats.overallMemoryUsage;
System.log( "name:" +myVcHostSystem[0].name);
System.log( "CPU usage"+myClusterOverallCpuUsage);
Thanks