[libvirt-users] Memory statistics for DomU's

14 Mar
14 Mar
8:26 p.m.
On 03/14/2012 01:21 PM, inge85@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@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
4931
Age (days ago)
4931
Last active (days ago)
1 comments
2 participants
participants (2)
-
Eric Blake
-
inge85@web.de