Skip to contentSkip to conversation

fix cgroups documentation

PATCH In review Dhaval Giani 2 participants 2 messages May 8, 2008 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix cgroups documentation

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

Documentation/cgroups.txt +2 -2
Index: linux-2.6/Documentation/cgroups.txt
===================================================================
@@ -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
Signature · 2 lines
regards,
Dhaval
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Dhaval Giani

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

Quoted 21 lines

Index: linux-2.6/Documentation/cgroups.txt
===================================================================

Documentation/cgroups.txt 2008-05-08 16:26:58.000000000 +0530 renamed from Documentation/cgroups.txt 2008-04-30 14:42:05.000000000 +0530 +2 -3
@@ -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