On Wed, Mar 13, 2013 at 6:39 PM, Rudy Godoy <[email protected]> wrote:
> On Tue, Mar 12, 2013 at 06:14:55PM +0530, Saurabh Deochake wrote: > > Hi all, > > > > Hi, > > > > I'm new to LXC and libvirt. I have created a LXC container using libvirt. > > In domain XML file I have mentioned "memory" and "current memory" as 256 > > MB. > > > > Now I want to check the memory inside the container, but whenever I run > top > > command or try to cat /proc/meminfo, it shows host machine's memory which > > is 3GB. > > > > So is there any command by which I can check containers memory? > > > > >>You could use virsh commands such as dominfo or memtune. > > >>virsh --connect lxc:// dominfo <vm-id> > > >>regards, > >>Rudy > Thanks Rudy, I used dominfo but I'm just curious to know if there is any way to check the physical memory inside the container without using virsh commands.
_______________________________________________ libvirt-users mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvirt-users
