* [PATCH] cgroup : cgroups/cpuacct.txt : Add how to remove accouting group
@ 2010-08-04 16:26 Masanari Iida
0 siblings, 0 replies; only message in thread
From: Masanari Iida @ 2010-08-04 16:26 UTC (permalink / raw)
To: menage-hpIqsD4AKlfQT0dZR+AlfA, lizf-BthXqXjhjHXQFUHtdCDX3A,
containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Cc: Masanari Iida
This patch adds an exmaple of how to remove accounting group
in Documentations/cgroup/cpuacct.txt
Signed-off-by: Masanari Iida <standby24x7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
Documentation/cgroups/cpuacct.txt | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Documentation/cgroups/cpuacct.txt b/Documentation/cgroups/cpuacct.txt
index 152350b..cb14664 100644
--- a/Documentation/cgroups/cpuacct.txt
+++ b/Documentation/cgroups/cpuacct.txt
@@ -48,3 +48,12 @@ system times. This has two side effects:
against concurrent writes.
- It is possible to see slightly outdated values for user and system times
due to the batch processing nature of percpu_counter.
+
+To remove the accounting group, move back the shell process to the parent
+accounting group. Then use rmdir to remove the group.
+
+# cat /cgroups/g1/tasks
+5961
+
+# echo 5961 > /cgroups/tasks
+# rmdir /cgroups/g1
--
1.6.2.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-04 16:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-04 16:26 [PATCH] cgroup : cgroups/cpuacct.txt : Add how to remove accouting group Masanari Iida
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.