On this page you find all important commands for the CLI tool coredumpctl. If the
command you are looking for is missing please ask our AI.
coredumpctl
Coredumpctl is a command line tool used in Linux systems to manage and investigate system crash dumps or core dumps.
- It is part of the systemd suite of utilities and is available in most Linux distributions.
- Coredumpctl provides a unified interface to manage core dumps generated when a program crashes or exhibits abnormal behavior.
- It can be used to list, filter, view, and retrieve information about core dumps.
- The tool maintains a chronological list of all core dumps that have occurred on the system.
- Information such as timestamp, PID, executable name, process status, and more is captured for each core dump entry.
- Coredumpctl enables filtering of core dumps based on certain criteria like timestamp, executable name, or process ID.
- By default, it only displays the latest core dumps, but a specific dump can be selected using its unique identifier.
- Detailed information about a core dump can be obtained using coredumpctl info command, including backtrace, memory mappings, and environment variables.
- Coredumpctl allows users to extract the core dump for further analysis or debugging through the coredumpctl dump command.
- It simplifies the process of managing core dumps, helping system administrators and developers diagnose and troubleshoot issues within their applications or the system as a whole.
List of commands for coredumpctl:
-
coredumpctl:tldr:2c444 coredumpctl: List all captured core dumps.$ coredumpctl listtry on your machineexplain this command
-
coredumpctl:tldr:4f6c5 coredumpctl: Invoke debugger using the last core dump of a program.$ coredumpctl debug ${program}try on your machineexplain this command
-
coredumpctl:tldr:55470 coredumpctl: Extract the last core dump of a program to a file.$ coredumpctl --output=${filename} dump ${program}try on your machineexplain this command
-
coredumpctl:tldr:664d1 coredumpctl: Show information about the core dumps matching a program with `PID`.$ coredumpctl info ${PID}try on your machineexplain this command
-
coredumpctl:tldr:907b8 coredumpctl: List captured core dumps for a program.$ coredumpctl list ${program}try on your machineexplain this command