From 5de0409e54580b1e8929d9e09f970dfe339cec7b Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Fri, 19 Oct 2012 12:29:46 +0200 Subject: journal: add tool to extract coredumps 'systemd-coredumpctl' will list available coredumps: PID UID GID sig exe 32452 500 500 11 /home/zbyszek/systemd/build/journalctl 32666 500 500 11 /usr/lib64/valgrind/memcheck-amd64-linux ... 'systemd-coredumpctl dump PID' will write the coredump to specified file or stdout. --- man/systemd-coredumpctl.xml | 186 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 186 insertions(+) create mode 100644 man/systemd-coredumpctl.xml (limited to 'man') diff --git a/man/systemd-coredumpctl.xml b/man/systemd-coredumpctl.xml new file mode 100644 index 0000000000..378d40fa13 --- /dev/null +++ b/man/systemd-coredumpctl.xml @@ -0,0 +1,186 @@ + + + + + + + + + systemd-coredumpctl + systemd + + + + Developer + Zbigniew + Jędrzejewski-Szmek + zbyszek@in.waw.pl + + + + + + systemd-coredumpctl + 1 + + + + systemd-coredumpctl + Retrieve coredumps from the journal + + + + + systemd-coredumpctl OPTIONS COMMAND PID|COMM|EXE|MATCH + + + + + Description + + systemd-coredumpctl may be used to + retrieve coredumps from + systemd-journald8. + + + + Options + + The following options are understood: + + + + + + + Print a short help + text and exit. + + + + + + Print a short version + string and exit. + + + + + + + Write the core to + . + + + + + + Do not pipe output of + list into a + pager. + + + + + The following commands are understood: + + + + list + + List coredumps captured in the journal + matching specified characteristics. + + + + dump + + Extract the last coredump + matching specified characteristics. + Coredump will be written on stdout, unless + an output file is specified with + . + + + + + + + + + Matching + + Match can be: + + + + + + Process ID of the + process that dumped + core. An integer. + + + + + + Name of the executable + (matches ). + Must not contain slashes. + + + + + + + Path to the executable + (matches ). + Must contain at least one slash. + + + + + + + General journalctl predicates + (see journalctl1). + Must contain an equals sign. + + + + + + + Exit status + On success 0 is returned, a non-zero failure + code otherwise. Not finding any mathing coredumps is treated + as failure. + + + + + See Also + + systemd-journald.service8 + + + + -- cgit v1.2.3-54-g00ecf