Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-30 Thread Ryota Ozaki
: Ryota Ozaki [mailto:ozaki.ry...@gmail.com] Sent: Thursday, April 29, 2010 9:51 PM To: Kumar L Srikanth-B22348 Cc: Daniel P. Berrange; libvirt list; Ryota OZAKI Subject: Re: [libvirt] 'dommemstat' is not working for LXC hypervisor. On Thu, Apr 29, 2010 at 10:23 PM, Ryota Ozaki ozaki.ry

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-29 Thread Ryota Ozaki
; Ryota OZAKI Subject: Re: [libvirt] 'dommemstat' is not working for LXC hypervisor. On Wed, Apr 28, 2010 at 8:19 PM, Kumar L Srikanth-B22348 b22...@freescale.com wrote: Daniel, My requirement is to get how much memory is free in the guest domain. Can you please let me know, how can I do

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-29 Thread Kumar L Srikanth-B22348
, 2010 5:27 PM To: Kumar L Srikanth-B22348 Cc: Daniel P. Berrange; libvirt list; Ryota OZAKI Subject: Re: [libvirt] 'dommemstat' is not working for LXC hypervisor. On Wed, Apr 28, 2010 at 8:19 PM, Kumar L Srikanth-B22348 b22...@freescale.com wrote: Daniel, My requirement is to get how much memory

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-29 Thread Ryota Ozaki
On Wed, Apr 28, 2010 at 8:15 PM, Daniel P. Berrange berra...@redhat.com wrote: On Wed, Apr 28, 2010 at 04:43:41PM +0530, Kumar L Srikanth-B22348 wrote: Thanks for the reply Daniel. Virsh dominfo dommand showing following results: Id:             32473 Name:           vm1 UUID:          

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-29 Thread Ryota Ozaki
, Srikanth. -Original Message- From: Ryota Ozaki [mailto:ozaki.ry...@gmail.com] Sent: Thursday, April 29, 2010 5:50 PM To: Kumar L Srikanth-B22348 Cc: Daniel P. Berrange; libvirt list; Ryota OZAKI Subject: Re: [libvirt] 'dommemstat' is not working for LXC hypervisor. On Thu, Apr 29, 2010

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-29 Thread Kumar L Srikanth-B22348
: Re: [libvirt] 'dommemstat' is not working for LXC hypervisor. On Thu, Apr 29, 2010 at 9:32 PM, Kumar L Srikanth-B22348 b22...@freescale.com wrote: Now it's showing Used Memory as 0. I don't know whether it's correct or not. I wrote a small script in the domain to check the used memory, which

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-29 Thread Ryota Ozaki
On Wed, Apr 28, 2010 at 8:19 PM, Kumar L Srikanth-B22348 b22...@freescale.com wrote: Daniel, My requirement is to get how much memory is free in the guest domain. Can you please let me know, how can I do that? Do you enable cgroup memory subsystem? If so, something wrong in lxc driver of

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-29 Thread Ryota Ozaki
. -Original Message- From: Ryota Ozaki [mailto:ozaki.ry...@gmail.com] Sent: Thursday, April 29, 2010 6:14 PM To: Kumar L Srikanth-B22348 Cc: Daniel P. Berrange; libvirt list; Ryota OZAKI Subject: Re: [libvirt] 'dommemstat' is not working for LXC hypervisor. On Thu, Apr 29, 2010 at 9:32

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-29 Thread Ryota Ozaki
list; Ryota OZAKI Subject: Re: [libvirt] 'dommemstat' is not working for LXC hypervisor. On Thu, Apr 29, 2010 at 9:32 PM, Kumar L Srikanth-B22348 b22...@freescale.com wrote: Now it's showing Used Memory as 0. I don't know whether it's correct or not. I wrote a small script in the domain

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-29 Thread Kumar L Srikanth-B22348
? Regards, Srikanth. -Original Message- From: Ryota Ozaki [mailto:ozaki.ry...@gmail.com] Sent: Thursday, April 29, 2010 5:50 PM To: Kumar L Srikanth-B22348 Cc: Daniel P. Berrange; libvirt list; Ryota OZAKI Subject: Re: [libvirt] 'dommemstat' is not working for LXC hypervisor. On Thu, Apr

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-29 Thread Kumar L Srikanth-B22348
PM To: Kumar L Srikanth-B22348 Cc: Daniel P. Berrange; libvirt list; Ryota OZAKI Subject: Re: [libvirt] 'dommemstat' is not working for LXC hypervisor. On Thu, Apr 29, 2010 at 10:23 PM, Ryota Ozaki ozaki.ry...@gmail.com wrote: On Thu, Apr 29, 2010 at 9:54 PM, Kumar L Srikanth-B22348 b22

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-28 Thread Daniel P. Berrange
On Wed, Apr 28, 2010 at 12:00:09PM +0530, Kumar L Srikanth-B22348 wrote: Hi Daniel, I am using libvirt version 0.8.0. I created a domain 'srikanth_vm' using 'lxc' hypervisor. I am able to start the Domain. But, I am not able to get the memory stats for that Domain. If I issue 'dommemstat

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-28 Thread Kumar L Srikanth-B22348
Thanks for the reply Daniel. Virsh dominfo dommand showing following results: Id: 32473 Name: vm1 UUID: f13bc513-15f2-1dd1-74f6-18c47931ece9 OS Type:exe State: running CPU(s): 1 Max memory: 500 kB Used memory:500 kB

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-28 Thread Daniel P. Berrange
On Wed, Apr 28, 2010 at 04:43:41PM +0530, Kumar L Srikanth-B22348 wrote: Thanks for the reply Daniel. Virsh dominfo dommand showing following results: Id: 32473 Name: vm1 UUID: f13bc513-15f2-1dd1-74f6-18c47931ece9 OS Type:exe State: running

Re: [libvirt] 'dommemstat' is not working for LXC hypervisor.

2010-04-28 Thread Kumar L Srikanth-B22348
Daniel, My requirement is to get how much memory is free in the guest domain. Can you please let me know, how can I do that? And also, as you said it's quite easy to implement dommemstats for lxc driver, is there any possibility to implement that? Regards, Srikanth. -Original Message-