[systemd-commits] man/coredumpctl.xml

Lennart Poettering lennart at kemper.freedesktop.org
Mon Oct 20 16:18:03 PDT 2014


 man/coredumpctl.xml |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

New commits:
commit bb604b2f42e8769947c6cf1c0242760ceb320929
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date:   Sun Oct 12 00:37:21 2014 +0200

    man: add examples for coredumpctl
    
    Add examples to clarify how to use coredumpctl
    
    See https://bugs.freedesktop.org/show_bug.cgi?id=83437

diff --git a/man/coredumpctl.xml b/man/coredumpctl.xml
index a7b8793..03552b7 100644
--- a/man/coredumpctl.xml
+++ b/man/coredumpctl.xml
@@ -208,6 +208,34 @@
         </refsect1>
 
         <refsect1>
+                <title>Examples</title>
+
+                <example>
+                        <title>List all the coredumps of a program named foo</title>
+
+                        <programlisting># coredumpctl list foo</programlisting>
+                </example>
+
+                <example>
+                        <title>Invoke gdb on the last coredump</title>
+
+                        <programlisting># coredumpctl gdb</programlisting>
+                </example>
+
+                <example>
+                        <title>Show information about a process that dumped core</title>
+
+                        <programlisting># coredumpctl info 6654</programlisting>
+                </example>
+
+                <example>
+                        <title>Extract the last coredump of /usr/bin/bar to a file named bar.coredump</title>
+
+                        <programlisting># coredumpctl -o bar.coredump dump /usr/bin/bar</programlisting>
+                </example>
+        </refsect1>
+
+        <refsect1>
                 <title>See Also</title>
                 <para>
                         <citerefentry><refentrytitle>systemd-coredump</refentrytitle><manvolnum>8</manvolnum></citerefentry>,



More information about the systemd-commits mailing list