[PVE-User] pvesh get current status and cpu value

René Jochum r.jochum at proxmox.com
Fri Jun 1 17:11:39 CEST 2018


Hi Daniel,

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.

Np,

René

On 2018-06-01 17:08, Daniel Berteaud wrote:
> Le 01/06/2018 à 16:55, René Jochum a écrit :
>> Get it from "pvesh get /cluster/resources" :)
> Indeed, here it has the correct value. Still, isn't that strange that on
> /nodes/<node>/qemu/<vmid>/status/current we do not get the same value ?
>
> Thanks,
> Daniel
>





More information about the pve-user mailing list