aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/cgroups
diff options
context:
space:
mode:
authorWanlong Gao <gaowanlong@cn.fujitsu.com>2011-07-23 13:37:01 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-23 13:58:08 -0400
commite47f9d84eec63484ae09f8c5b78ef605efa984a0 (patch)
tree9da8e1ef5a8c414abb2a658f40d2d9ddc578815c /Documentation/cgroups
parentb4db920c7f524b2cd0f5ae7efbbbbfd2c76a27da (diff)
Documentation: fix echo command in cgroups/cpuacct.txt
Must echo a task id to the cgroups' tasks file, but not to a directory. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Acked-by: Paul Menage <menage@google.com> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/cgroups')
-rw-r--r--Documentation/cgroups/cpuacct.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/cgroups/cpuacct.txt b/Documentation/cgroups/cpuacct.txt
index 9ad85df4b983..9d73cc0cadb9 100644
--- a/Documentation/cgroups/cpuacct.txt
+++ b/Documentation/cgroups/cpuacct.txt
@@ -23,7 +23,7 @@ New accounting groups can be created under the parent group /sys/fs/cgroup.
23 23
24# cd /sys/fs/cgroup 24# cd /sys/fs/cgroup
25# mkdir g1 25# mkdir g1
26# echo $$ > g1 26# echo $$ > g1/tasks
27 27
28The above steps create a new group g1 and move the current shell 28The above steps create a new group g1 and move the current shell
29process (bash) into it. CPU time consumed by this bash and its children 29process (bash) into it. CPU time consumed by this bash and its children