From 6d3eefd28e653c42bc4a6e0e58dfd9581b5c6e0a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 30 Aug 2015 16:38:52 +0200 Subject: [PATCH] man: document relationship between keys and switches of cgtop --- man/systemd-cgtop.xml | 71 +++++++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 29 deletions(-) diff --git a/man/systemd-cgtop.xml b/man/systemd-cgtop.xml index fe17165544b..0e0ea3ba7ab 100644 --- a/man/systemd-cgtop.xml +++ b/man/systemd-cgtop.xml @@ -165,7 +165,8 @@ Controls whether the CPU usage is shown as percentage or time. By default the CPU usage is shown as - percentage. + percentage. This setting may also be toggled at runtime by + pressing the % key. @@ -173,7 +174,8 @@ Include kernel threads when counting tasks in control groups. By default, kernel threads are not included in - the count. + the count. This setting may also be toggled at runtime by + pressing the k key. @@ -184,16 +186,18 @@ 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. + the tasks in the control group itself are counted. This + setting may also be toggled at runtime by pressing the + r key. - Perform only this many iterations. A value of 0 - indicates that the program should run indefinitely. + Perform only this many iterations. A value of + 0 indicates that the program should run + indefinitely. @@ -201,10 +205,11 @@ Specify refresh delay in seconds (or if one of - ms, - us, + ms, us, min is specified as unit in this time - unit). + unit). This setting may also be increased and decreased at + runtime by pressing the + and + - keys. @@ -232,64 +237,72 @@ - h + h Shows a short help text. - SPACE + Immediately refresh output. - q + q Terminate the program. - - p - t - c - m - i + p + t + c + m + i Sort the control groups by path, number of - tasks, CPU load, memory usage, or IO load, respectively. - + tasks, CPU load, memory usage, or IO load, respectively. This + setting may also be controlled using the + command line + switch. - % + % Toggle between showing CPU time as time or - percentage. + percentage. This setting may also be controlled using the + command line switch. - + - - + + + - Increase or decrease refresh delay, - respectively. + respectively. This setting may also be controlled using the + command line + switch. - k + k Toggle between including or excluding kernel - threads in control group task counts. + threads in control group task counts. This setting may also be + controlled using the command line + switch. - r + r Toggle between recursively including or excluding tasks in child control groups in control group task - counts. + counts. This setting may also be controlled using the + command line + switch.