HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)

e
evweb_eventviewer(1) evweb_eventviewer(1)
NAME
evweb_eventviewer - enables you to view and delete events
SYNOPSIS
evweb eventviewer
{-D [ -a|
-e|-f|-h|-i|-n|-r|
-t|-v ]}
{
-E [ -h|
-n ]}
{
-L [ -a|
-e|-h|-i|-o|-r|-s|
-t|-v ]}
DESCRIPTION
The
evweb eventviewer command is used to list the event summary (
-L), display details of an event
(
-E), or to delete an event (
-D).
The options
-D, -E, and
-L are mutually exclusive. These options can be used with other switches such as
-a, -b, -e
, -f, -h, -i, -n, -o, -r
, -s, and -v.
Options
The
evweb eventviewer command supports the following options:
-a age_number[:]{yy|mm|dd|hh}
Specifies the age of an event. The age consists of a number and the unit of age. The possible values
for unit are:
yy years
mm months
dd days
hh hours
Specify an argument (a number followed by its unit) for the -a switch. The number and its unit must
be separated using a colon. If you do not use the colon, specify the complete argument within double
quotes. Following are the examples of the -a
option:
-a 1:mm
The following two commands have the same meaning:
-a 10:dd
-a "10 dd"
-D
Deletes an event. Use the -D option to delete one or more events from the Event Archive. You can
use the following switches with the -D option:
-a age_number[:]{yy|mm|dd|hh}
-e [eq|ne|le|ge|bw]:severity_level1
[,severity_level2]
-f
-h
-i Event_IDs
-n [Event_Numbers]
-r [is|be|en|co][:]search_string
-t [eq|le|ge|bw]:mm:dd
:yyyy:hh:mi:ss[,mm:dd:yyyy:hh:mi:ss]
-v Event_categories
Following are the examples of the -D options:
evweb eventviewer -D -e eq:4 -a 5:dd
evweb eventviewer -D
evweb eventviewer -D -n 1234,1235,1236
evweb eventviewer -D -h
-e [eq|ne|le|ge|bw]:
severity_level1[,severity_level2
]
Specifies the severity as a part of the events archive search criteria, for either viewing the summary
list of events, or for deleting events.
Severity is represented by an operator followed by the severity values. The : demarcates the opera-
tor and the severity values. The following operators can be used:
eq equal to (default)
ne not equal to
HP-UX 11i Version 3: February 2007 1 Hewlett-Packard Company 317