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

12 May
2013
12 May
'13
2:10 a.m.
I was wondering if swap usage of Guest VM can be checked from Host machine via command line.Is it possible? -- Nehal J. Wani UG2, BTech CS+MS(CL) IIIT-Hyderabad http://commanlinewani.blogspot.com

13 May
13 May
3:01 a.m.
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.
4500
Age (days ago)
4501
Last active (days ago)
1 comments
2 participants
participants (2)
-
Nehal J. Wani
-
Saurabh Deochake