[libvirt] [PATCHv6 11/11] man: virsh: Add docs for supported stats groups

Eric Blake eblake at redhat.com
Tue Sep 16 22:39:37 UTC 2014


On 09/15/2014 09:42 AM, Peter Krempa wrote:
> Document the fields returned.
> ---
>  tools/virsh.pod | 47 +++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 47 insertions(+)
> 
> diff --git a/tools/virsh.pod b/tools/virsh.pod
> index b929480..789641c 100644
> --- a/tools/virsh.pod
> +++ b/tools/virsh.pod
> @@ -835,6 +835,53 @@ default all supported statistics groups are returned. Supported
>  statistics groups flags are: I<--state>, I<--cpu-total>, I<--balloon>,
>  I<--vcpu>, I<--interface>, I<--block>.
> 
> +When selecting the I<--state> group the following fields are returned:
> +"state.state" - state of the VM, returned as number from virDomainState enum,
> +"state.reason" - reason for entering given state, returned as int from,
> +virDomain*Reason enum corresponding to given state.

Hmm, we still ought to get our pretty printer working, but that's a
separate patch.

> +
> +I<--cpu-total> returns:
> +"cpu.time" - total cpu time spent for this domain,
> +"cpu.user" - user cpu time spent,
> +"cpu.system" - system cpu time spent

Probably should add "in nanoseconds"

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140916/eab2e427/attachment-0001.sig>


More information about the libvir-list mailing list