summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-10-12 00:37:21 +0200
committerLennart Poettering <lennart@poettering.net>2014-10-21 01:16:17 +0200
commitbb604b2f42e8769947c6cf1c0242760ceb320929 (patch)
tree163419c355ac76f5e6c45783579ea242100d3fa0 /man
parentc45827d6e70baf6b683d7cafb13a9a6f02852731 (diff)
man: add examples for coredumpctl
Add examples to clarify how to use coredumpctl See https://bugs.freedesktop.org/show_bug.cgi?id=83437
Diffstat (limited to 'man')
-rw-r--r--man/coredumpctl.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/man/coredumpctl.xml b/man/coredumpctl.xml
index a7b8793e5..03552b7d1 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>,