On Sun, Nov 16, 2014 at 1:44 AM, Hamilton Turner <hamiltont@xxxxxxxxx> wrote: > I see a discrepancy between my system and the documentation at > https://www.kernel.org/doc/Documentation/cgroups/cpuacct.txt > > Specifically, the references in the following paragraph to > /sys/fs/cgroup appear to be incorrect on my system, and should instead > be references to /sys/fs/cgroup/cpuacct > > Doc: > > New accounting groups can be created under the parent group /sys/fs/cgroup. > > # cd /sys/fs/cgroup > # mkdir g1 > # echo $$ > g1/tasks > > The above steps create a new group g1 and move the current shell > process (bash) into it. CPU time consumed by this bash and its children > can be obtained from g1/cpuacct.usage and the same is accumulated in > /sys/fs/cgroup/cpuacct.usage also. Looks like a documentation bug, do send in a patch to fix it Balbir Singh. -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html