coredumpctl command examples

coredumpctl command examples

coredumpctl – Retrieve coredumps from the journal

Example 1. List all the coredumps of a program named foo

# coredumpctl list foo

Example 2. Invoke gdb on the last coredump

# coredumpctl gdb

Example 3. Show information about a process that dumped core, matching by its PID 6654

# coredumpctl info 6654

Example 4. Extract the last coredump of /usr/bin/bar to a file named bar.coredump

# coredumpctl -o bar.coredump dump /usr/bin/bar

 

Leave a Reply

Your email address will not be published. Required fields are marked *