summaryrefslogtreecommitdiff
path: root/man/systemd-cgtop.xml
diff options
context:
space:
mode:
authorUmut Tezduyar <umut@tezduyar.com>2013-04-02 18:52:16 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-02 14:50:14 -0400
commit1e913bcba3b7361d5090e3cb55098c8cdac0748a (patch)
tree7a2d136d13ba51d3ac9c20ce26ecaf260407fc50 /man/systemd-cgtop.xml
parent7464b33d804c4a7295cc576574e8586a173b5f76 (diff)
cgtop: optionally show CPU usage as time and become stdout sensitive
Diffstat (limited to 'man/systemd-cgtop.xml')
-rw-r--r--man/systemd-cgtop.xml11
1 files changed, 8 insertions, 3 deletions
diff --git a/man/systemd-cgtop.xml b/man/systemd-cgtop.xml
index ad1f0f8c4..c5bb48986 100644
--- a/man/systemd-cgtop.xml
+++ b/man/systemd-cgtop.xml
@@ -49,7 +49,8 @@
<refsynopsisdiv>
<cmdsynopsis>
- <command>systemd-cgtop <arg choice="opt" rep="repeat">OPTIONS</arg></command>
+ <command>systemd-cgtop</command>
+ <arg choice="opt" rep="repeat">OPTIONS</arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -58,10 +59,14 @@
<para><command>systemd-cgtop</command> shows the top
control groups of the local Linux control group
- hierarchy, ordered by their CPU, memory and disk I/O load. The
+ hierarchy, ordered by their CPU, memory, or disk I/O load. The
display is refreshed in regular intervals (by default
every 1s), similar in style to
- <citerefentry><refentrytitle>top</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para>
+ <citerefentry><refentrytitle>top</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
+ If <command>systemd-cgtop</command> is not connected
+ to a tty, only one iteration is performed and no
+ columns headers are printed. This mode is suitable for
+ scripting.</para>
<para>Resource usage is only accounted for control
groups in the relevant hierarchy, i.e. CPU usage is