summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-08-03 17:42:04 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-08-03 18:12:07 +0200
commit871b876ecc6921a70b5f5e15cb9f85e0b6f2d1a5 (patch)
tree773fb7be23a4a017d3e69481e2f6a85815fb293f
parentab060556a9e1ebb2744719a29985e40919101a22 (diff)
man: document three new cgtop options
-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>