[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160322094449.GK6344@twins.programming.kicks-ass.net>
Date: Tue, 22 Mar 2016 10:44:49 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Zhao Lei <zhaolei@...fujitsu.com>
Cc: linux-kernel@...r.kernel.org, Tejun Heo <htejun@...il.com>
Subject: Re: [PATCH v4 0/4] cpuacct: split usage into user_usage and sys_usage
On Tue, Mar 22, 2016 at 04:37:04PM +0800, Zhao Lei wrote:
> Sometimes, cpuacct.usage is not detialed enough to user
> to see how much usage a group used. We want to know how
> much time it used in user mode and how much in kernel mode.
>
> This patch introduce some more files to tell user these information.
> # ls /sys/fs/cgroup/cpuacct/cpuacct.usage*
> /sys/fs/cgroup/cpuacct/cpuacct.usage
> /sys/fs/cgroup/cpuacct/cpuacct.usage_percpu
> /sys/fs/cgroup/cpuacct/cpuacct.usage_user
> /sys/fs/cgroup/cpuacct/cpuacct.usage_percpu_user
> /sys/fs/cgroup/cpuacct/cpuacct.usage_sys
> /sys/fs/cgroup/cpuacct/cpuacct.usage_percpu_sys
>
> Changelog v3->v4:
> 1: Add a patch to use for_each_possible_cpu to iterate all cpus,
> Suggested-by: Peter Zijlstra <peterz@...radead.org>
Thanks!
Powered by blists - more mailing lists