man: add examples for coredumpctl

Add examples to clarify how to use coredumpctl

See https://bugs.freedesktop.org/show_bug.cgi?id=83437
This commit is contained in:
Ronny Chevalier 2014-10-12 00:37:21 +02:00 committed by Lennart Poettering
parent c45827d6e7
commit bb604b2f42
1 changed files with 28 additions and 0 deletions

View File

@ -207,6 +207,34 @@
</para>
</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>