summaryrefslogtreecommitdiff
path: root/man/coredumpctl.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-03 15:30:04 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-05-05 13:59:23 +0200
commit4e3fbc133eb099acada182e3049d278023d91360 (patch)
tree04f8425a585aad6ec117c49c43f5d5c7800a46cf /man/coredumpctl.xml
parent510c7a953ea5e12d8f2e4ab243dec546eb0325a1 (diff)
downloadsystemd-4e3fbc133eb099acada182e3049d278023d91360.tar.gz
man: add an example of coredumpctl output
People like examples. Also shows off the new quoted command line.
Diffstat (limited to 'man/coredumpctl.xml')
-rw-r--r--man/coredumpctl.xml38
1 files changed, 34 insertions, 4 deletions
diff --git a/man/coredumpctl.xml b/man/coredumpctl.xml
index 2b602b71fa..68ba6dc9f2 100644
--- a/man/coredumpctl.xml
+++ b/man/coredumpctl.xml
@@ -354,10 +354,40 @@ Fri … 552351 1000 1000 SIGSEGV present /usr/lib64/firefox/firefox 28.7M
</example>
<example>
- <title>Show information about a process that dumped core,
- matching by its PID 6654</title>
-
- <programlisting>$ coredumpctl info 6654</programlisting>
+ <title>Show information about a core dump matched by PID</title>
+
+ <programlisting>$ 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)
+ Disk Size: 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)
+</programlisting>
</example>
<example>