diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-08-30 15:11:35 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-08-31 13:20:44 +0200 |
commit | 3cb5beea0c484011fffbd50ae0aaaf71cc699eef (patch) | |
tree | ff001ea571f4207cb66f5709ea1a823beec756e9 /man | |
parent | 41ba8b6e69ad79b6c8e603ac970720665c88a363 (diff) |
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.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-cgtop.xml | 13 |
1 files changed, 12 insertions, 1 deletions
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 @@ -177,6 +177,18 @@ </varlistentry> <varlistentry> + <term><option>--recursive=</option></term> + + <listitem><para>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 <literal>yes</literal>. If enabled the + tasks in child control groups are included, if disabled only + the tasks in the control group itself are + counted.</para></listitem> + </varlistentry> + + <varlistentry> <term><option>-n</option></term> <term><option>--iterations=</option></term> @@ -212,7 +224,6 @@ </refsect1> - <refsect1> <title>Keys</title> |