From bb604b2f42e8769947c6cf1c0242760ceb320929 Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Sun, 12 Oct 2014 00:37:21 +0200 Subject: [PATCH] man: add examples for coredumpctl Add examples to clarify how to use coredumpctl See https://bugs.freedesktop.org/show_bug.cgi?id=83437 --- man/coredumpctl.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/man/coredumpctl.xml b/man/coredumpctl.xml index a7b8793e51..03552b7d19 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