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] COMMAND [COMMAND OPTIONS]

PARAMETERS

--version
    Print the version number and exit.

-v, --verbose
    Enable verbose output.

-q, --quiet
    Suppress all output.

list
    List available problem reports.

info PROBLEM_ID
    Show detailed information about a specific problem report.

report PROBLEM_ID
    Report a problem to a bug tracking system.

retrace PROBLEM_ID
    Create a stack trace for a given problem.

delete PROBLEM_ID
    Delete a problem report.

event
    Simulate an event.
Possible event types are: CCpp, Java, Python, Kerneloops, Oops, BugBuddy

DESCRIPTION

abrt-cli is a command-line tool used to interact with the Automatic Bug Reporting Tool (ABRT) on Linux systems. ABRT automatically detects application crashes, collects relevant data (core dumps, logs, etc.), and provides a means to report these issues to developers. abrt-cli allows users to view, manage, and analyze these detected crashes. Users can list available problem reports, examine individual reports in detail, report problems (either manually or automatically), and delete old or irrelevant reports. abrt-cli is a crucial tool for system administrators and developers who need to monitor system stability, diagnose application failures, and contribute to improving software quality by reporting bugs effectively. Its main purpose is to interface with the ABRT daemon to administer and examine crash data. You can use it to list crashes, examine them, and report them to bug tracking systems.

CAVEATS

Requires root privileges for certain operations, such as deleting crash reports. The availability of features and options may vary depending on the ABRT version and configuration.

PROBLEM IDENTIFIERS

PROBLEM_ID refers to the numerical identifier assigned to each crash report by ABRT. You can obtain these IDs using the abrt-cli list command.

REPORTING DESTINATIONS

The actual bug tracking system to which a problem is reported depends on the configuration of ABRT. Common destinations include Bugzilla and Red Hat's crash reporting system. The output of abrt-cli report will indicate where the problem was reported.

AUTOMATIC REPORTING

ABRT can be configured to automatically report crashes without user intervention. abrt-cli is still useful for examining and managing these automatically reported issues.

HISTORY

ABRT has been developed as part of Fedora and Red Hat distributions to provide an automated crash reporting mechanism. It has evolved over time to support more programming languages and improve the accuracy and efficiency of crash detection and reporting. The `abrt-cli` command is a core component of the ABRT suite, allowing users to interact with the ABRT daemon and manage crash reports from the command line. Its initial development focused on providing basic functionalities for listing, viewing, and reporting crashes, and it has since been extended with more advanced features for analysis and management.

SEE ALSO

abrt(1), abrtd(8)

Copied to clipboard