]> git.proxmox.com Git - pve-container.git/commit - src/PVE/CLI/pct.pm
fix #4765: pct: do not report cpu usage
authorMaximiliano Sandoval <m.sandoval@proxmox.com>
Thu, 29 Jun 2023 11:34:23 +0000 (13:34 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 18 Jul 2023 13:56:03 +0000 (15:56 +0200)
commit43500db18311b2de75b6b1eefcb1ed37184e0f6b
treee72640b31cd504ec3065adf39313c9a70f664c62
parent471d9dfaf34b3004166dc54c190f3a6581f7dee9
fix #4765: pct: do not report cpu usage

When running `pct status VMID` the variable
$last_proc_vmid_stat->{$vmid} is not set and pct reports no cpu usage.

For consistency with the qt command we do not print the cpu usage.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
src/PVE/CLI/pct.pm