HP MSA 2040 CLI Reference Guide

238
show events
Description Shows events logged by each controller in the storage system. A separate set of event numbers is
maintained for each controller. Each event number is prefixed with a letter identifying the controller
that logged the event.
Events are listed from newest to oldest, based on a timestamp with one-second granularity; therefore
the event log sequence matches the actual event sequence within about one second.
For more information, see “Resources for diagnosing and resolving problems” in the Event
Descriptions Reference Guide. To access HP’s Guided Troubleshooting website, see
http://www.hp.com/support/msa2040/Troubleshooting
.
Syntax To show a certain number of events:
show events
[detail]
[last
#
]
[a|b|both|error]
To show events by time:
show events
[detail]
[from
timestamp
]
[to
timestamp
]
[a|b|both|error]
To show events by ID:
show events
[detail]
[from-event
event-ID
]
[to-event
event-ID
]
[a|b|both|error]
Parameters detail
Optional. Shows additional information and recommended actions for displayed events. This
information is also in the Event Descriptions Reference Guide.
last
#
Optional. Shows the latest specified number of events. If this parameter is omitted, all events are
shown.
from
timestamp
Optional. Shows events including and after a timestamp specified with the format
MMDDYYhhmmss
.
For example, 043011235900 represents April 30 2011 at 11:59:00 p.m. This parameter can be used
with the to parameter or the to-event parameter.
to
timestamp
Optional. Shows events before and including a timestamp specified with the format
MMDDYYhhmmss
. For example, 043011235900 represents April 30 2011 at 11:59:00 p.m. This
parameter can be used with the from parameter or the from-event parameter.
from-event
event-ID
Optional. Shows events including and after the specified event ID. If this number is smaller than the
ID of the oldest event, events are shown from the oldest available event. Events are shown only for the
controller that the event ID specifies (A or B). This parameter can be used with the to parameter or
the to-event parameter.
to-event
event-ID
Optional. Shows events before and including the specified event ID. If this number is larger than the
ID of the oldest event, events are shown up to the latest event. Events are shown only for the controller
that the event ID specifies (A or B). This parameter can be used with the from parameter or the
from-event parameter.