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 c8f872cc6806aa84c0122be079edbe9551f7bdd3..ac9bae4621daab129e0d35af25c75ae14b2ee51d 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 14d47353ccac8949ad822b1a6d28b07774c09637..112e5fff874b2a98d2fef4df28ebfc3994572a81 100644 (file)
                                 text and exits.</para></listitem>
                         </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 disk I/O load.</para></listitem>
                         </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>