COREDUMPCTL(1) coredumpctl COREDUMPCTL(1) coredumpctl - coredumpctl [...] {} [_||_|...] coredumpctl systemd-coredump(8). : list . . : . 233. PID . 233. UID, GID . 233. . 233. COREFILE : "none" "-" ( ) "present" "journal" "" "truncated" "error" "missing" . 233. EXE . . 233. /var/lib/systemd/coredump systemd-coredump(8). . 215. info . 215. dump . --output=. 215. debug . gdb(1). --debugger= $SYSTEMD_DEBUGGER. --debugger-arguments= . 239. : -h --help . --version . --no-pager (pager). --no-legend . --json= JSON. : "short" ( ) "pretty" ( ) "off" ( JSON ). -1 . --reverse -n 1. 215. -n _ . 1. 248. -S, -- . 233. -U --until . 233. -r --reverse . 233. -F FIELD --field=FIELD . 215. -o FILE --output=FILE FILE. 215. --debugger= debug. $SYSTEMD_DEBUGGER gdb(1). 239. -A --debugger-arguments= ARGS . ARGS . ( .) 248. --file=GLOB . coredumpctl GLOB . . 246. -D DIR --directory=DIR DIR . 225. --root= ROOT . 252. --image=image . . --root= . GPT UAPI.2 [1]. systemd-nspawn(1) . 252. --image-policy= systemd.image-policy(7). --image= . "*" . -q --quiet . 233. --all /var/log/journal/ ( ) . 250. : PID . . 215. COMM ( COREDUMP_COMM=). . 215. EXE ( COREDUMP_EXE=). . 215. MATCH journalctl ("="). journalctl(1). 215. 0 . . $SYSTEMD_DEBUGGER debug. --debugger=. 239. 1. $ coredumpctl list /usr/lib64/firefox/firefox TIME PID UID GID SIG COREFILE EXE SIZE Tue ... 8018 1000 1000 SIGSEGV missing /usr/lib64/firefox/firefox - Wed ... 251609 1000 1000 SIGTRAP missing /usr/lib64/firefox/firefox - Fri ... 552351 1000 1000 SIGSEGV present /usr/lib64/firefox/firefox 28.7M /usr/lib64/firefox/firefox ( ). coredumpctl . . 2. gdb $ coredumpctl debug 3. gdb $ coredumpctl debug --debugger-arguments="-batch -ex 'info all-registers'" 4. PID $ coredumpctl info 6654 PID: 6654 (bash) UID: 1000 (user) GID: 1000 (user) Signal: 11 (SEGV) Timestamp: Mon 2021-01-01 00:00:01 CET (20s ago) Command Line: bash -c $'kill -SEGV $$' Executable: /usr/bin/bash Control Group: /user.slice/user-1000.slice/... Unit: user@1000.service User Unit: vte-spawn-....scope Slice: user-1000.slice Owner UID: 1000 (user) Boot ID: ... Machine ID: ... Hostname: ... Storage: /var/lib/systemd/coredump/core.bash.1000.....zst (present) Size on Disk: 51.7K Message: Process 130414 (bash) of user 1000 dumped core. Stack trace of thread 130414: #0 0x00007f398142358b kill (libc.so.6 + 0x3d58b) #1 0x0000558c2c7fda09 kill_builtin (bash + 0xb1a09) #2 0x0000558c2c79dc59 execute_builtin.lto_priv.0 (bash + 0x51c59) #3 0x0000558c2c79709c execute_simple_command (bash + 0x4b09c) #4 0x0000558c2c798408 execute_command_internal (bash + 0x4c408) #5 0x0000558c2c7f6bdc parse_and_execute (bash + 0xaabdc) #6 0x0000558c2c85415c run_one_command.isra.0 (bash + 0x10815c) #7 0x0000558c2c77d040 main (bash + 0x31040) #8 0x00007f398140db75 __libc_start_main (libc.so.6 + 0x27b75) #9 0x0000558c2c77dd1e _start (bash + 0x31d1e) 5. /usr/bin/bar bar.coredump $ coredumpctl -o bar.coredump dump /usr/bin/bar systemd-coredump(8), coredump.conf(5), systemd-journald.service(8), gdb(1) 1. UAPI.2 https://uapi-group.org/specifications/specs/discoverable_partitions_specification 3 . . : . systemd 260.2 COREDUMPCTL(1)