lkml.org 
[lkml]   [2009]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -tip] cpuacct: per-cgroup utime/stime statistics - v4
On Mon, 23 Mar 2009 13:17:50 +0530
Bharata B Rao <bharata@linux.vnet.ibm.com> wrote:

> On Mon, Mar 23, 2009 at 04:01:12PM +0900, KAMEZAWA Hiroyuki wrote:
> >
> > Removet this.
> >
> > +- It is possible to see slightly outdated values for stime and utime
> > + due to the batch processing nature of percpu_counter.
>
> This will explain why the stime and utime values for the top cgroup is
> different from the ones seen from /proc/stat. Hence I would prefer to have a
> mention of it in the documentation.
>
i see.

Thanks,
-Kame
> [root@llm11 cgroups]# cat cpuacct.stat ; cat /proc/stat | grep cpu
> utime 3110
> stime 8410
> cpu 3151 2 8336 4051594 2189 0 133 0 0
> ...
>
> Regards,
> Bharata.
>



\
 
 \ /
  Last update: 2009-03-23 08:53    [W:0.049 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site