> Its complicated why this is 0, in short cpu usage is a counter its hard > to calculate actual usage in % without history data. > > /cluster/resources uses pvestatd which calculates that, > /nodes/{node}/(qemu|lxc)/status/current doesn't.
Yes, this is probably the best workaround. Please note that pvesh is mostly a debugging tool. But we are working on a full feature API client tool, which provides about the same functionality, but queries the API daemon instead. This will then compute such values correctly. _______________________________________________ pve-user mailing list pve-user@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user