[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]