On 03/14/2012 01:21 PM, inge85@xxxxxx 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@xxxxxxxxxx +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature