summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/coredumpctl.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/man/coredumpctl.xml b/man/coredumpctl.xml
index a7b8793e51..03552b7d19 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>,