public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix cgroups documentation
@ 2008-05-08 10:59 Dhaval Giani
  2008-05-08 20:23 ` Paul Menage
  0 siblings, 1 reply; 2+ messages in thread
From: Dhaval Giani @ 2008-05-08 10:59 UTC (permalink / raw)
  To: menage; +Cc: nikhil.john, Sudhir Kumar, Balbir Singh, Andrew Morton, lkml

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

Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-08 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-08 10:59 [PATCH] fix cgroups documentation Dhaval Giani
2008-05-08 20:23 ` Paul Menage

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox