lsalerts - command line interface for alerts table
Synopsis
Description
Options
Authors
Bugs
See Also
lsalerts [-b dbname] [-f limit] [-h] [-l limit]
lsalerts is a simple command line interface to the shoki alerts table. The output is a list of alerts from the alerts table, one per line. Each line of the output contains the alert number, the date of the alert (when the alert was inserted into the alerts table), the text of the alert, and the alert severity.By default (with no options), lsalerts will list the ten (10) most recent alerts, most recent alert first. This is identical to running lsalerts -l 10.
-b dbname Connect to database dbname. Defaults to shoki. -f limit List the first limit alerts, in order (i.e., oldest alert first). -h Print a usage message and exit. -l limit List the last limit alerts, in reverse order (i.e., most recent alert first).
.An Stephen P. Berry <spb@meshuggeneh.net>More information can be found at the shoki homepage:
Check the README at the top of the source tree.
lsevents(1)
February 10, 2004 | LSALERTS (1) | shoki |