From 3cb5beea0c484011fffbd50ae0aaaf71cc699eef Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 30 Aug 2015 15:11:35 +0200 Subject: cgtop: recursively count cgroup member tasks When showing the number of tasks in a cgroup, recursively count tasks in child cgroups and include them in the number. This ensures that the number of tasks is cummulative the same way as memory, cpu and IO resources are. Old behaviour can be restored by passing the new --recursive=no switch. --- man/systemd-cgtop.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/systemd-cgtop.xml b/man/systemd-cgtop.xml index 14b503c3da..7f54b0b982 100644 --- a/man/systemd-cgtop.xml +++ b/man/systemd-cgtop.xml @@ -176,6 +176,18 @@ the count. + + + + Controls whether the number of tasks shown for + a control group shall include all tasks that are contained in + any of the child control groups as well. Takes a boolean + argument, defaults to yes. If enabled the + tasks in child control groups are included, if disabled only + the tasks in the control group itself are + counted. + + @@ -212,7 +224,6 @@ - Keys -- cgit v1.2.3-54-g00ecf