EnglishFrenchSpanish

Ad


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
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    https://github.com/CloverHackyColor/CloverBootloader..
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    UE...
    Download Clover EFI bootloader
  • 2
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • 3
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 4
    VirtualGL
    VirtualGL
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 5
    libusb
    libusb
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Categories...
    Download libusb
  • 6
    SWIG
    SWIG
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    different...
    Download SWIG
  • More »

Linux commands

Ad