Questo contenuto non è disponibile nella lingua selezionata.
28.3. Using the Command-Line Interface
Problem data saved by
abrtd
can be viewed, reported, and deleted using the command-line interface.
General usage of the abrt-cli tool can be described using the following syntax:
abrt-cli [--version] command [args]
abrt-cli [--version] command [args]
…where args stands for a problem data directory and/or options modifying the commands, and command is one of the following sub-commands:
list
— lists problems and views the problem data.report
— analyzes and reports problems.rm
— removes unneeded problems.info
— provides information about a particular problem.
To display help on particular
abrt-cli
command use:
abrt-cli command --help
abrt-cli command --help abrt-cli command --help abrt-cli command --help abrt-cli command --help abrt-cli command --help
The rest of the commands used with abrt-cli are described in the following sections.
28.3.1. Viewing Problems Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
To view detected problems, enter the
abrt-cli list
command:
Directory
— Shows the problem data directory that contains all information about the problem.count
— Shows how many times this particular problem occurred.executable
— Indicates which binary or executable script crashed.package
— Shows the name of the package that contains the program that caused the problem.time
— Shows the date and time of the last occurrence of the problem.uid
— Shows the ID of the user which ran the program that crashed.
The following table shows options available with the
abrt-cli list
command. All options are mutually inclusive so you can combine them according to your need. The command output will be the most comprehensive if you combine all options, and you will receive the least details if you use no additional options.
Option | Description |
---|---|
With no additional option, the abrt-cli list command displays only basic information for problems that have not been reported yet. | |
-d , --detailed | Displays all stored information about problems listed, including a backtrace if it has already been generated. |
-f , --full | Displays basic information for all problems including the already-reported ones. |
-v , --verbose | Provides additional information on its actions. |
If you want to view information just about one particular problem, you can use the command:
abrt-cli info directory
abrt-cli info directory
…where directory stands for the problem data directory of the problem that is being viewed. The following table shows options available with the
abrt-cli info
command. All options are mutually inclusive so you can combine them according to your need. The command output will be the most comprehensive if you combine all options, and you will receive the least details if you use no additional options.
Option | Description |
---|---|
With no additional option, the abrt-cli info command displays only basic information for the problem specified by the problem data directory argument. | |
-d , --detailed | Displays all stored information for the problem specified by the problem data directory argument, including a backtrace if it has already been generated. |
-v , --verbose | abrt-cli info provides additional information on its actions. |