Messages in this thread | | | Date | Mon, 23 Mar 2009 13:17:50 +0530 | From | Bharata B Rao <> | Subject | Re: [PATCH -tip] cpuacct: per-cgroup utime/stime statistics - v4 |
| |
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.
[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.
| |