namely 'cpu' and 'mem' Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> --- PVE/QemuServer.pm | 11 +++++++++++ 1 file changed, 11 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index b3d5f8f2..98bc07c2 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2793,6 +2793,12 @@ our $vmstatus_return_properties = { type => 'string', enum => ['stopped', 'running'], }, + mem => { + description => "Current memroy usage in bytes.", + type => 'integer', + optional => 1, + renderer => 'bytes', + }, maxmem => { description => "Maximum memory in bytes.", type => 'integer', @@ -2854,6 +2860,11 @@ our $vmstatus_return_properties = { optional => 1, renderer => 'duration', }, + cpu => { + description => "Current CPU usage.", + type => 'number', + optional => 1, + }, cpus => { description => "Maximum usable CPUs.", type => 'number', -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel