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

Masanari Iida standby24x7 at gmail.com
Tue Aug 3 11:41:09 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

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list