[PATCH] Documentation: cgroups/cpuacct.txt: Fix command example in cpuacct.txt.

Masanari Iida standby24x7 at gmail.com
Tue Aug 3 09:15:31 PDT 2010


Fix command example in cpuacct.txt

Signed-off-by: Masanari Iida <standby24x7 at gmail.com>
---
 Documentation/cgroups/cpuacct.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/cgroups/cpuacct.txt b/Documentation/cgroups/cpuacct.txt
index 8b93094..152350b 100644
--- a/Documentation/cgroups/cpuacct.txt
+++ b/Documentation/cgroups/cpuacct.txt
@@ -24,7 +24,7 @@ New accounting groups can be created under the parent group /cgroups.
 
 # cd /cgroups
 # 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
-- 
1.6.2.5



More information about the Containers mailing list