Using ABRT

ABRT (Automatic Bug Reporting Tool), is a set of tools that help users detect and analyze application crashes.

How to do it…

First, we'll install the necessary packages and then take a look at how to use these tools.

Installing and configuring abrtd

Let's install abrt and get it running:

  1. Install the abrt daemon and tools via the following command line:
    ~]# yum install -y abrt-cli
    
  2. Now, enable and start the abrt daemon through these commands:
    ~]# systemctl enable abrtd
    ~]# systemctl restart abrtdThere's more...
    

Using abrt-cli

List all detected segmentation faults by executing the following command:

~]# abtr-cli list

Here's what the output should look like:

The displayed location contains all the information about the segmentation fault. You ...

Get Red Hat Enterprise Linux Server Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.