abrt-RunApp

Langue: en

Version: 385072 (fedora - 01/12/10)

Section: 7 (Divers)

NAME

RunApp plugin for abrt(8)

DESCRIPTION

abrt is a daemon that watches for application crashes. When a crash occurs, it collects the crash data and takes action according to its configuration. This manual page describes the RunApp plugin for abrt. This plugin is used to run a specified application when the crash occurs.

INVOCATION

The plugin is invoked in the abrt.conf configuration file. The first parameter is the command to run. The second, optional parameter specifies an output file, to which the standard output of the program is saved.

CONFIGURATION

There is no configuration file, the plugin parameters are sufficient.

EXAMPLES

These are snippets from the abrt.conf configuration file. 1) Each time something crashes, print (and save in a text file) which processes are running on the system.

[common]
ActionsAndReporters = RunApp("ps ax","processes.txt") 2) When proftpd crashes, restart it.

[AnalyzerActionsAndReporters]
CCpp:proftpd = RunApp("/etc/init.d/proftpd restart")

SEE ALSO

abrt(8), abrt.conf(5), abrt-plugins(7)

AUTHOR

Written by Zdenek Prikryl <zprikryl@redhat.com>. Manual page by Daniel Novotny <dnovotny@redhat.com>.