HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)
XPath OS 7.4.x command reference guide 79
Displays the events in the event log.
Synopsis
eventshow [-m minutes] [-a] [-n numOfEvents]
Availability
all users
Description
Use this command to display all events in the event log by default. To display events that occurred within a
previous number of minutes, use the -m operand.. The -a operand displays events without pagination. The
-n operand specifies the number of events to display. The timestamp field of each event includes date,
time, and GMT offset.
The output of the eventShow command includes events recorded in the persistent error log during
previous runtime cycles and event messages logged in the current runtime cycle.
There are two types of memory in which log entries are stored: RAM and persistent RAM. All events are
placed in the RAM-based event log. Only events from RAM are displayed by the eventShow command.
Certain events also are stored in persistent RAM. When an MP Router reboots, RAM clears and then
reloads with log entries from persistent RAM. Running the eventShow command after a reboot displays a
log of the persistent events and any additional new log entries during bootup.
Both the persistent RAM log and the RAM log are limited in space and are managed as circular buffers.
When either log overflows, new entries overwrite the old entries.
Operands
The following operands are optional:
Examples
To display all events in the event log:
To display events that occurred within the last five minutes:
To display all events, without pagination:
To display the most recent 30 events, without pagination:
See also
eventShowByNum
eventShow
-m minutes Causes only events that occurred within the number of minutes
specified by minutes to be displayed.
-a Specifies that events be displayed without pagination; otherwise,
press Enter when prompted to display the next event log page.
-n numOfEvents Specifies the number of events to display.
switch:admin> eventshow
switch:admin> eventshow 5
switch:admin> eventshow -a
switch:admin> eventshow -a -n 30