When i run following code to get the host cpu and memory usage. it can return the value, but not the real value.
as the following picture shows. is anybody know the reason?
//code
var hosts=System.getModule("com.vmware.library.vc.host").getAllHostSystems();
for each (var tmp in hosts) {
Server.log("----> '"+ tmp.name +"' ");
Server.log("----> '"+ tmp.summary.quickStats.overallCpuUsage +"' ");
Server.log("----> '"+ tmp.summary.quickStats.overallMemoryUsage +"' ");
}