From 246ba4aaa9bfa8bafcdba229d7324ca02d660155 Mon Sep 17 00:00:00 2001 From: Peter Mattern Date: Mon, 16 May 2016 11:56:04 +0200 Subject: coredump: Improve man pages --- man/coredumpctl.xml | 60 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 23 deletions(-) (limited to 'man/coredumpctl.xml') diff --git a/man/coredumpctl.xml b/man/coredumpctl.xml index 0f1afe77c3..abc245be5e 100644 --- a/man/coredumpctl.xml +++ b/man/coredumpctl.xml @@ -45,7 +45,7 @@ coredumpctl - Retrieve coredumps from the journal + Retrieve and process saved core dumps and metadata @@ -60,9 +60,10 @@ Description - coredumpctl may be used to - retrieve coredumps from - systemd-journald8. + coredumpctl is a tool that can be used to retrieve and process core + dumps and metadata which were saved by + systemd-coredump8. + @@ -71,18 +72,23 @@ The following options are understood: + + + + - Do not print column headers. - + Do not print column headers. + + - Show information of a single coredump only, - instead of listing all known coredumps. + Show information of a single core dump only, instead of listing + all known core dumps. @@ -90,7 +96,7 @@ FIELD Print all possible data values the specified - field takes in matching coredump entries of the + field takes in matching core dump entries of the journal. @@ -110,11 +116,11 @@ - - - - + + + + Commands The following commands are understood: @@ -122,23 +128,31 @@ list - List coredumps captured in the journal + List core dumps captured in the journal matching specified characteristics. If no command is - specified, this is the implied default. + specified, this is the implied default. + + It's worth noting that different restrictions apply to + data saved in the journal and core dump files saved in + /var/lib/systemd/coredump, see overview in + systemd-coredump8. + Thus it may very well happen that a particular core dump is still listed + in the journal while its corresponding core dump file has already been + removed. info - Show detailed information about coredumps + Show detailed information about core dumps captured in the journal. dump - Extract the last coredump matching specified - characteristics. The coredump will be written on standard + Extract the last core dump matching specified + characteristics. The core dump will be written on standard output, unless an output file is specified with . @@ -146,7 +160,7 @@ gdb - Invoke the GNU debugger on the last coredump + Invoke the GNU debugger on the last core dump matching specified characteristics. @@ -197,7 +211,7 @@ Exit status On success, 0 is returned; otherwise, a non-zero failure - code is returned. Not finding any matching coredumps is treated as + code is returned. Not finding any matching core dumps is treated as failure. @@ -206,13 +220,13 @@ Examples - List all the coredumps of a program named foo + List all the core dumps of a program named foo # coredumpctl list foo - Invoke gdb on the last coredump + Invoke gdb on the last core dump # coredumpctl gdb @@ -225,7 +239,7 @@ - Extract the last coredump of /usr/bin/bar to a file named + <title>Extract the last core dump of /usr/bin/bar to a file named <filename noindex="true">bar.coredump</filename> # coredumpctl -o bar.coredump dump /usr/bin/bar -- cgit v1.2.3