[PATCH] fix cgroups documentation

From: Dhaval Giani
Date: Thu May 08 2008 - 06:59:26 EST


Just correcting the cgroups documentation to reflect the correct file names.

Signed-off-by: Dhaval Giani <dhaval@xxxxxxxxxxxxxxxxxx>

Index: linux-2.6/Documentation/cgroups.txt
===================================================================
--- linux-2.6.orig/Documentation/cgroups.txt 2008-04-30 14:42:05.000000000 +0530
+++ linux-2.6/Documentation/cgroups.txt 2008-05-08 16:26:58.000000000 +0530
@@ -310,8 +310,8 @@ and then start a subshell 'sh' in that c
cd /dev/cgroup
mkdir Charlie
cd Charlie
- /bin/echo 2-3 > cpus
- /bin/echo 1 > mems
+ /bin/echo 2-3 > cpuset.cpus
+ /bin/echo 1 > cpuset.mems
/bin/echo $$ > tasks
sh
# The subshell 'sh' is now running in cgroup Charlie

--
regards,
Dhaval
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/