[Libvir] How to get the memory used by a guest domin

Pranay Prasoon pranay.prasoon at gmail.com
Wed Apr 30 12:15:55 UTC 2008


Hi,
It appears to be no API available to provide the memory used by a guest
domin.
I looked at the availble libvirt api called "virNodeGetCellsFreeMemory"
using which it is possible to get the free mem. But looking further I found
that this is free memory of the "whole box" rather than based upon the guest
domain.
How can I get the memory used by a guest domin.

Thanks n Regards,
-Pranay.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080430/48e3ed3c/attachment-0001.htm>


More information about the libvir-list mailing list