• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

coredumpctl: command not found

by Deepika

The coredumpctl command is a utility in Linux that is used to manage core dumps, which are snapshots of a process’s memory at the time of a crash. Core dumps can be useful for debugging purposes, as they provide information about the state of the process at the time of the crash.

To list all available core dumps, use the following command:

# coredumpctl list

This will display a list of all available core dumps, including the PID of the process, the name of the executable, and the time of the crash.

If you encounter the below error while running the command coredumpctl:

coredumpctl: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install systemd-coredump
Ubuntu apt-get install systemd-coredump
Arch Linux pacman -S systemd
Kali Linux apt-get install systemd-coredump
CentOS yum install systemd
Fedora dnf install systemd
Raspbian apt-get install systemd-coredump

coredumpctl Command Examples

1. List all captured core dumps:

# coredumpctl list

2. List captured core dumps for a program:

# coredumpctl list program

3. Show information about the core dumps matching a program with `PID`:

# coredumpctl info PID

4. Invoke debugger using the last core dump of a program:

# coredumpctl debug program

5. Extract the last core dump of a program to a file:

# coredumpctl --output=path/to/file dump program

Filed Under: Linux

Some more articles you might also be interested in …

  1. mpg123: command not found
  2. Order of environment calls for different OS shells in Linux
  3. btrfs device Command Examples in Linux
  4. faillock: command not found
  5. nmcli connection Command Examples in Linux
  6. How to use “btrfs device” comamnd to add/delete device to/from btrfs filesystem
  7. How to Boot into Rescue Mode or Emergency Mode Through Systemd in CentOS/RHEL 7 and 8
  8. dpkg-scanpackages: command not found
  9. pgrep Command Examples in Linux
  10. service Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright