Le 01/06/2018 à 17:12, Thomas Lamprecht a écrit : > Hi, >> Am I missing something, or is this a bug ? >> > > actually cpu should be set and represent what you expect, > I took a quick look at the code and did not see why it > shouldn't be set... > It's in the PVE::QemuServer::vmstatus method, but I got no time today to > investigate in this, sorry :)
Took a quick look, and it looks like it should be populated around line 2890 if ($dtime > 1000) { my $dutime = $used - $old->{used}; $d->{cpu} = (($dutime/$dtime)* $cpucount) / $d->{cpus}; $last_proc_pid_stat->{$pid} = { time => $ctime, used => $used, cpu => $d->{cpu}, }; But my perl-foo will probably reach it's limit quickly ;-) Will try to debug this if I can. > > regarding this: you run into our forums spam alert, > now you should be able to post :) Thanks, I can indeed now :-) -- 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/ _______________________________________________ pve-user mailing list pve-user@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user