[Libvir] API confusion...
Richard W.M. Jones
rjones at redhat.com
Thu Apr 10 22:29:02 UTC 2008
On Thu, Apr 10, 2008 at 02:58:26PM -0600, Spencer Parker wrote:
> When I pull out network stats...it just gives me a tuple. Is there any
> documentation on what this is actually displaying so I can format
> accordingly?
I'm assuming this is the python bindings, in which case the tuple has
these fields:
http://libvir.org/html/libvirt-libvirt.html#virDomainInterfaceStatsStruct
rx = receive, tx = transmit
A value of -1 in any field means no data is available.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
More information about the libvir-list
mailing list