[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] lxc: dominfo.cpuTime support using cgroups.cpuacct
- From: Ryota Ozaki <ozaki ryota gmail com>
- To: veillard redhat com
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] lxc: dominfo.cpuTime support using cgroups.cpuacct
- Date: Fri, 6 Mar 2009 23:30:26 +0900
Hi Daniel,
On Fri, Mar 6, 2009 at 10:27 PM, Daniel Veillard <veillard redhat com> wrote:
> On Thu, Mar 05, 2009 at 02:34:48AM +0900, Ryota Ozaki wrote:
>> Hi,
>>
>> This patch enables to get CPU usage of a lxc using cpuacct subsystem
>> of cgroups.
>
> Looks cool, what kernel version is required to make use of this ?
> The kernel patch seems to be from last december, but I'm not sure.
> I would just prefer to make sure it's in a released kernel version
> before applying the patch here :-)
Actually I didn't know that ;-), but...
$ git-checkout v2.6.23
Previous HEAD position was 4991408... Linux 2.6.24
HEAD is now at bbf25010f... Linux 2.6.23
$ grep -r cpuacct kernel |wc -l
0
$ git-checkout v2.6.24
Previous HEAD position was bbf25010f... Linux 2.6.23
Checking out files: 100% (10210/10210), done.
HEAD is now at 4991408... Linux 2.6.24
$ grep -r cpuacct kernel |wc -l
27
ok, it must be at v2.6.24!
Thanks,
ozaki-r
> Patch looks fine to me,
>
> thanks !
>
> Daniel
>
> --
> Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
> daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
> http://veillard.com/ | virtualization library http://libvirt.org/
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]