[libvirt-users] Check Swap Usage on Guest VM from Host

Saurabh Deochake saurabh.d04 at gmail.com
Mon May 13 07:01:29 UTC 2013


Hi Nehal,

> I was wondering if swap usage of Guest VM can be checked from Host
> machine via command line.Is it possible?
>

If you're using LXC, then I think it is possible to check swap usage of
guest VM.

You can do it by: cat
/path_to_cgroup/memory/libvirt/<lxc_domain_name>/memory.stat

For more info: https://www.kernel.org/doc/Documentation/cgroups/memory.txt

Thanks and Regards,
Saurabh Deochake.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130513/51437a94/attachment.htm>


More information about the libvirt-users mailing list