LinuxCommandLibrary

abrt-cli

Manage and analyze ABRT (crash) reports

TLDR

List detected problems

$ abrt-cli list
copy

Show details of a specific problem
$ abrt-cli info [problem_id]
copy

Remove a crash report
$ abrt-cli remove [problem_id]
copy

Report a problem to the configured bug tracker (e.g. Bugzilla)
$ abrt-cli report [problem_id]
copy

Monitor a log file and trigger a program when a match is found
$ abrt-watch-log -F [error_string] [/var/log/myapp.log] [notify-send "Crash detected"]
copy

Generate a report for debugging manually
$ abrt-cli report [[-a|--analyze]] [problem_id]
copy

SYNOPSIS

abrt-cli [options] action [args]

PARAMETERS

-v, --verbose
    Increase output verbosity

-d, --debug
    Enable debug output

-h, --help
    Show help message

-V, --version
    Display version information

-p (list/report)
    Pretty-print JSON-like output

-e EMAIL (report)
    Email address for submission

-k KEY=VALUE (report)
    Add extra key-value data to report

DESCRIPTION

The abrt-cli command is the command-line interface for ABRT (Automatic Bug Reporting Tool), a daemon-based system for detecting application crashes, kernel oopses, and other issues on Linux systems, primarily Fedora and RHEL derivatives.

ABRT automatically collects crash data into problem reports stored in /var/spool/abrt. abrt-cli lets users list, inspect, report, delete, or manage these reports without a GUI. It's ideal for servers, automation, or headless environments.

Key uses include querying crash dumps, submitting bugs to Bugzilla or other trackers with attachments, and cleaning up old reports. Reports contain core dumps, backtraces, arguments, and metadata for debugging.

Requires the abrt-cli package and running abrtd daemon. Supports scripting for bulk operations.

CAVEATS

Requires root for some actions like removal; ABRT daemon (abrtd) must be running; reports in /var/spool/abrt can grow large with core dumps.

MAIN ACTIONS

list [path]: List reports.
report [path]: Submit report.
status: Show ABRT status.
rm [path]: Delete report.

EXAMPLE

abrt-cli list
abrt-cli report /var/spool/abrt/XXXX

HISTORY

Introduced with ABRT in Fedora 12 (2009) for automated crash collection; evolved in RHEL 7+ and Fedora; abrt-cli added early for CLI access, with updates for better bugzilla integration and scripting.

SEE ALSO

abrtd(8), abrt-report-coredump(1), abrt-gui(1), abrt(7)

Copied to clipboard