[libvirt] 'dommemstat' is not working for LXC hypervisor.
Ryota Ozaki
ozaki.ryota at gmail.com
Thu Apr 29 11:45:55 UTC 2010
On Wed, Apr 28, 2010 at 8:15 PM, Daniel P. Berrange <berrange at 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: f13bc513-15f2-1dd1-74f6-18c47931ece9
>> OS Type: exe
>> State: running
>> CPU(s): 1
>> Max memory: 5000000 kB
>> Used memory: 5000000 kB
>> Autostart: disable
>>
>>
>> Though whatever services running on the domain, every time used memory
>> is showing as 5000000 kB. Is that result is correct?
>
> The 'Max memory' 5000000 KB is the hard limit that is allocated to the
> container. I thought that the 'used memory' field would be lower, but
> its possible we don't have the actual stats for used memory so just
> set both the same. I'd have to research the code again to answer for
> sure...
Hmm, we should be able to get 'Used memory' via cgroup.memory.
If not, it should be a regression. I haven't tested on 0.8.0 yet though,
it worked on 0.7.6 at least.
ozaki-r
>
> Daniel
> --
> |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
> |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
> |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
> |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
>
More information about the libvir-list
mailing list