[libvirt] libvirt memory usage statistics

Michal Privoznik mprivozn at redhat.com
Mon Jan 5 14:35:43 UTC 2015

On 30.12.2014 16:46, Narayanan, Krishnaprasad wrote:
> Hello all,
> I am using libvirt version 1.1.1 on one of the nodes which has several
> VMs. When I used virsh dommemstat <domain UUID>, I am getting the
> following flags: actual, swap_in and rss. I am not able to get the
> unused memory that is associated with the virtual machine.

That's something you need to compute. Given how much memory have you 
assigned to a domain under <memory/> minus 'actual' is the memory that 
domain can qemu allocate eventually.


More information about the libvir-list mailing list