Skip to content

Commit

Permalink
Documentation: fix echo command in cgroups/cpuacct.txt
Browse files Browse the repository at this point in the history
Must echo a task id to the cgroups' tasks file, but not to a directory.

Signed-off-by: Wanlong Gao <[email protected]>
Acked-by: Paul Menage <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
gaowanlong authored and torvalds committed Jul 23, 2011
1 parent b4db920 commit e47f9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/cgroups/cpuacct.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ New accounting groups can be created under the parent group /sys/fs/cgroup.

# cd /sys/fs/cgroup
# mkdir g1
# echo $$ > 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
Expand Down

0 comments on commit e47f9d8

Please sign in to comment.