chiark / gitweb /
man: document three new cgtop options
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 3 Aug 2012 15:42:04 +0000 (17:42 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 3 Aug 2012 16:12:07 +0000 (18:12 +0200)
TODO
man/systemd-cgtop.xml

diff --git a/TODO b/TODO
index c8f872c..ac9bae4 100644 (file)
--- 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.
index 14d4735..112e5ff 100644 (file)
                         </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
                         </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>