On 03/14/2012 01:21 PM, inge85 at web.de wrote:> Hello,
>
> I have a question about memory statistics in libvirt for domU. I want to
get
> read and written bytes of RAM of a domain in the same way as blockstats for
read
> and written bytes on disk. I already read the API, but I didn't get it.
I want
> to graph the RAM utilization of certain virtual machines. Can anybody help
me?
virt-manager can graph RAM utilization of guests, so it may be worth
seeing what APIs it used. The virDomainMemoryStats() is probably the
key API to be using, although I'm not sure whether it is wired up in the
xen implementation.
--
Eric Blake eblake at 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: 620 bytes
Desc: OpenPGP digital signature
URL:
<http://listman.redhat.com/archives/libvirt-users/attachments/20120314/7be4b9bb/attachment.sig>