cgroup : cgroups/cpuacct.txt : Add how to remove accouting group
PATCH 1/1 cgroup : cgroups/cpuacct.txt : Add how to remove accouting group
This patch adds an exmaple of how to remove accounting group in Documentations/cgroup/cpuacct.txt
Signed-off-by Masanari Iida <[email protected]>
--- Documentation/cgroups/cpuacct.txt | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)
Documentation/cgroups/cpuacct.txt +9 -0
@@ -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
Signature · 1 line
1.6.2.5