From: Ronny Chevalier Date: Sat, 11 Oct 2014 22:37:21 +0000 (+0200) Subject: man: add examples for coredumpctl X-Git-Tag: v217~177 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=bb604b2f42e8769947c6cf1c0242760ceb320929;p=elogind.git 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 a7b8793e5..03552b7d1 100644 --- a/man/coredumpctl.xml +++ b/man/coredumpctl.xml @@ -207,6 +207,34 @@ + + Examples + + + List all the coredumps of a program named foo + + # coredumpctl list foo + + + + Invoke gdb on the last coredump + + # coredumpctl gdb + + + + Show information about a process that dumped core + + # coredumpctl info 6654 + + + + Extract the last coredump of /usr/bin/bar to a file named bar.coredump + + # coredumpctl -o bar.coredump dump /usr/bin/bar + + + See Also