Daniel Berteaud
2018-06-01 14:52:27 UTC
Hi.
Writing some script to monitor my guests on a proxmox 5.2 cluster (3
nodes), I find something strange. When I ask the current status of a
guest, eg
pvesh get /nodes/pve1/qemu/109/status/current
I get most stats I want, except for CPU usage. I guess it should be the
value of cpu (cpus being the number of cores assigned to the VM, and cpu
the % used), but the value I get for cpu is always 0, no matter the
activity of the VM.
Am I missing something, or is this a bug ?
BTW, I'd have asked this on the forum, but I get "You have insufficient
privileges to post here"
Regards, Daniel
--
Logo FWS
*Daniel Berteaud*
FIREWALL-SERVICES SAS.
Société de Services en Logiciels Libres
Tel : 05 56 64 15 32 <tel:0556641532>
Matrix: @dani:fws.fr
/www.firewall-services.com/
Writing some script to monitor my guests on a proxmox 5.2 cluster (3
nodes), I find something strange. When I ask the current status of a
guest, eg
pvesh get /nodes/pve1/qemu/109/status/current
I get most stats I want, except for CPU usage. I guess it should be the
value of cpu (cpus being the number of cores assigned to the VM, and cpu
the % used), but the value I get for cpu is always 0, no matter the
activity of the VM.
Am I missing something, or is this a bug ?
BTW, I'd have asked this on the forum, but I get "You have insufficient
privileges to post here"
Regards, Daniel
--
Logo FWS
*Daniel Berteaud*
FIREWALL-SERVICES SAS.
Société de Services en Logiciels Libres
Tel : 05 56 64 15 32 <tel:0556641532>
Matrix: @dani:fws.fr
/www.firewall-services.com/