Forrest logo
back to the coredumpctl tool

coredumpctl:tldr:664d1

coredumpctl: Show information about the core dumps matching a program with `PID`.
$ coredumpctl info ${PID}
try on your machine

The command "coredumpctl info ${PID}" is used to obtain information about a specific captured core dump file associated with a given process ID (PID).

Let's break down the command:

  • "coredumpctl" is a command used in systems that have the systemd-coredump service running. It manages the collection and storage of core dump files generated when a program crashes.
  • "info" is an option or subcommand that instructs coredumpctl to provide detailed information about a core dump file.
  • "${PID}" is a placeholder for the process ID of the desired program. You should replace "${PID}" with the specific process ID you want to retrieve information about. The process ID can typically be found using the "ps" command or other process monitoring tools.

When you execute this command, coredumpctl will search for the core dump file associated with the given process ID and display various details about that core dump. The displayed information may include the core dump file name, the time of capture, the signal that caused the crash, the executable path, and other relevant metadata.

By examining the output of this command, you can gain insights into the crashes and debug the issues that caused the core dump.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the coredumpctl tool