EnglishFrenchSpanish

OnWorks favicon

coredumpctl - Online in the Cloud

Run coredumpctl in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command coredumpctl that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


coredumpctl - Retrieve coredumps from the journal

SYNOPSIS


coredumpctl [OPTIONS...] {COMMAND} [PID|COMM|EXE|MATCH...]

DESCRIPTION


coredumpctl may be used to retrieve coredumps from systemd-journald(8).

OPTIONS


The following options are understood:

--no-legend
Do not print column headers.

-1
Show information of a single coredump only, instead of listing all known coredumps.

-F FIELD, --field=FIELD
Print all possible data values the specified field takes in matching coredump entries
of the journal.

-o FILE, --output=FILE
Write the core to FILE.

-D DIR, --directory=DIR
Use the journal files in the specified DIR.

-h, --help
Print a short help text and exit.

--version
Print a short version string and exit.

--no-pager
Do not pipe output into a pager.

The following commands are understood:

list
List coredumps captured in the journal matching specified characteristics. If no
command is specified, this is the implied default.

info
Show detailed information about coredumps captured in the journal.

dump
Extract the last coredump matching specified characteristics. The coredump will be
written on standard output, unless an output file is specified with --output=.

gdb
Invoke the GNU debugger on the last coredump matching specified characteristics.

MATCHING


A match can be:

PID
Process ID of the process that dumped core. An integer.

COMM
Name of the executable (matches COREDUMP_COMM=). Must not contain slashes.

EXE
Path to the executable (matches COREDUMP_EXE=). Must contain at least one slash.

MATCH
General journalctl predicates (see journalctl(1)). Must contain an equal sign.

EXIT STATUS


On success, 0 is returned; otherwise, a non-zero failure code is returned. Not finding any
matching coredumps is treated as failure.

EXAMPLES


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

Use coredumpctl online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad