summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--man/systemd-cgtop.xml30
2 files changed, 30 insertions, 2 deletions
diff --git a/TODO b/TODO
index c8f872cc68..ac9bae4621 100644
--- a/TODO
+++ b/TODO
@@ -41,8 +41,6 @@ Features:
* remove Fedora /dev/null logic from localed.c, now that system-config-keyboard is gone
delete /etc/X11/xorg.conf.d/00-system-setup-keyboard.conf from spec file
-* update cgtop man page to be in sync with --help
-
* journal: expose current disk usage
* logind: return EBUSY when a session is created on a seat+VT that already has one.
diff --git a/man/systemd-cgtop.xml b/man/systemd-cgtop.xml
index 14d47353cc..112e5fff87 100644
--- a/man/systemd-cgtop.xml
+++ b/man/systemd-cgtop.xml
@@ -110,6 +110,13 @@
</varlistentry>
<varlistentry>
+ <term><option>--version</option></term>
+
+ <listitem><para>Prints a version string and
+ exits.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-p</option></term>
<listitem><para>Order by control group
@@ -143,6 +150,29 @@
</varlistentry>
<varlistentry>
+ <term><option>-b</option></term>
+ <term><option>--batch</option></term>
+
+ <listitem><para>Run in "batch" mode:
+ do not accept input and run until the
+ iteration limit set with
+ <option>--iterations</option> is
+ exhausted or until killed. This mode
+ could be useful for sending output
+ from <command>systemd-cgtop</command>
+ to other programs or to a
+ file.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-n</option></term>
+ <term><option>--iterations=</option></term>
+
+ <listitem><para>Perform only this many
+ iterations.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-d</option></term>
<term><option>--delay=</option></term>