mirror of
https://github.com/systemd/systemd
synced 2024-10-14 12:04:49 +00:00
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:
parent
c45827d6e7
commit
bb604b2f42
|
@ -207,6 +207,34 @@
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</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>
|
<refsect1>
|
||||||
<title>See Also</title>
|
<title>See Also</title>
|
||||||
<para>
|
<para>
|
||||||
|
|
Loading…
Reference in a new issue