mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-06 04:54:08 +00:00
vmstatus: document more return types
namely 'cpu' and 'mem' Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
03614a8992
commit
1b0df64e87
@ -2793,6 +2793,12 @@ our $vmstatus_return_properties = {
|
|||||||
type => 'string',
|
type => 'string',
|
||||||
enum => ['stopped', 'running'],
|
enum => ['stopped', 'running'],
|
||||||
},
|
},
|
||||||
|
mem => {
|
||||||
|
description => "Current memroy usage in bytes.",
|
||||||
|
type => 'integer',
|
||||||
|
optional => 1,
|
||||||
|
renderer => 'bytes',
|
||||||
|
},
|
||||||
maxmem => {
|
maxmem => {
|
||||||
description => "Maximum memory in bytes.",
|
description => "Maximum memory in bytes.",
|
||||||
type => 'integer',
|
type => 'integer',
|
||||||
@ -2854,6 +2860,11 @@ our $vmstatus_return_properties = {
|
|||||||
optional => 1,
|
optional => 1,
|
||||||
renderer => 'duration',
|
renderer => 'duration',
|
||||||
},
|
},
|
||||||
|
cpu => {
|
||||||
|
description => "Current CPU usage.",
|
||||||
|
type => 'number',
|
||||||
|
optional => 1,
|
||||||
|
},
|
||||||
cpus => {
|
cpus => {
|
||||||
description => "Maximum usable CPUs.",
|
description => "Maximum usable CPUs.",
|
||||||
type => 'number',
|
type => 'number',
|
||||||
|
Loading…
Reference in New Issue
Block a user