is it possible to get real time"load avg" of all vms with sys.uptime.latest ?
Also of last 7 days ?
Realtime statistics are only available for an hour.
See my PowerCLI & vSphere statistics – Part 1 – The basics post for some background info on that.
But I'm not sure how you intend to determine the 'load avg' with the 'sys.uptime.latest' metric.
That metric shows the uptime of an ESXi (statistics level 1) or a VM (statistics level 3).
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference