[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110723103701.635db37d.rdunlap@xenotime.net>
Date: Sat, 23 Jul 2011 10:37:01 -0700
From: Randy Dunlap <rdunlap@...otime.net>
To: lkml <linux-kernel@...r.kernel.org>
Cc: torvalds <torvalds@...ux-foundation.org>,
Wanlong Gao <gaowanlong@...fujitsu.com>
Subject: [PATCH 1/3] Documentation: fix echo command in cgroups/cpuacct.txt
From: Wanlong Gao <gaowanlong@...fujitsu.com>
Must echo a task id to the cgroups' tasks file, but not to a directory.
Signed-off-by: Wanlong Gao <gaowanlong@...fujitsu.com>
Acked-by: Paul Menage <menage@...gle.com>
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
Documentation/cgroups/cpuacct.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx-300.orig/Documentation/cgroups/cpuacct.txt
+++ lnx-300/Documentation/cgroups/cpuacct.txt
@@ -23,7 +23,7 @@ New accounting groups can be created und
# 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists