Use the lseventlog command to display a concise view of the system event log, or a detailed view of one entry from the log.
lseventlog -filtervalue "object_name=ob*"
This command displays a concise view of the system event log, or a detailed view of one entry from the log. You can sort the events and entries by severity or age.
Attribute | Description | Value |
---|---|---|
machine_type | Indicates the node machine type and model number. | The value is an alphanumeric string up to 7 characters long. |
serial number | Indicates the node serial number. | The value is an alphanumeric string up to 7 characters long. |
sequence_number | Indicates the sequence number of the event. | The value is numeric from 0 to 8000000. |
first_timestamp | Indicates when the event was added to the log. | The value is in the format YYMMDDHHMMSS. |
first_timestamp_epoch | Indicates when the event was added to the log (in seconds) after the epoch occurs. | The value is a numeric 32-bit value. |
last_timestamp | Indicates when the event was most recently updated. | The value is in the format YYMMDDHHMMSS. |
last_timestamp_epoch | Indicates the most recent update (in seconds) after an epoch for an event. | The value is a numeric 32-bit value. |
fixed_timestamp | Indicates the time stamp when event is fixed. | The value is in the format YYMMDDHHMMSS. |
fixed_timestamp_epoch | Indicates the time stamp (in seconds) when an event is fixed after an epoch occurs. | The value is a numeric string. |
fru | Indicates the field-replaceable unit (FRU) for error or event; this field contains probable FRUs (separated by commas). | The value is an ASCII string up to 255 characters long. |
object_type | Indicates the type of the object the event is logged against. | The values are:
|
object_id | Indicates the ID of the object the event is logged against. | The value is a numeric 64-bit value. It is displayed in decimal for
all object types other than clustered systems. For a clustered system, this value is hexadecimal but is blank for events with cluster object types. |
object_name | Indicates the name of the object the event is logged against. | This value is the object name format and is blank if the object was deleted or does not have a name. |
copy_id | Indicates the volume copy ID the event is logged against. | The value is a numeric value 0 to 1; it is blank if not a vdiskcopy event. |
reporting_node_id | Indicates the ID of the node that reported the event. | The value is a numeric 64-bit value that is blank if the event is reported by the clustered system. |
reporting_node_name | Indicates the name of the node that reported the event. | This value is the object name format and is blank if node is deleted or event is reported by the clustered system. |
root_sequence_number | Indicates the sequence number of the root or causal event Important: If the event is directly caused by another event, the sequence_number of
the related event is shown here.
|
The value is a numeric value from 1 to 8000000; blank if there is no root or if the event is not directly caused by another event. |
event_count | Indicates the number of reported events that are combined into this event | The value is a numeric 32-bit value. |
status | Indicates the event category. | The values are:
|
fixed | Indicates whether the event was marked fixed (for an alert) or read (for a message). | The values are:
|
auto_fixed | Indicates whether event is marked fixed by the code. | The values are:
|
notification_type | Indicates the type of event notification. | The values are:
|
event_id | Indicates the event ID. | The value is a 6-digit numeric value. |
event_id_text | Indicates the description that is associated with the event ID. | The value is a text value with a maximum of 200 bytes. This appears in CLI requested language. |
error_code | Indicates the error code that is associated with this event. | The value is a 4-digit numeric value but is blank if there is no error code. |
error_code_text | Indicates the description that is associated with the error code. | The value is a text value with a maximum of 200 bytes that is blank if
there is no error code. This value appears in the language that is requested by the CLI. |
description | Indicates the description that is associated with the event. If the event has an error code, this value is the same as the error_code_text field; otherwise, it is the same as the event_id_text field |
Text (maximum of 200 bytes). |
callhome_type | Indicates the type of Call Home that is associated with the event. | The values are hardware, software, and none. |
sense1 | Indicates the sixteen bytes of hex-encoded sense data; least significant byte is on the left. | The value is 16 2-character hexadecimal numbers that are separated by spaces. |
sense2 | ||
sense3 | ||
sense4 | ||
sense5 | ||
sense6 | ||
sense7 | ||
sense8 |
lseventlog -filtervalue 'last_timestamp>=100101000000:last_timestamp<100201000000'
lseventlog -filtervalue error_code=1065:fixed=no
lseventlog -order severity -count 1
lseventlog sequence_number:last_timestamp:object_type:object_id:object_name:copy_id:status:fixed:event_id:error_code:description 400:100106132413:vdisk:2:my_vdisk:1:alert:no:060001:1865:Space Efficient Virtual Disk Copy offline due to insufficient space 401:100106140000:cluster::ldcluster-2::message:no:981001::Cluster Fabric View updated by fabric discovery
lseventlog 120
sequence_number 120
first_timestamp 111130100419
first_timestamp_epoch 1322647459
last_timestamp 111130100419
last_timestamp_epoch 1322647459
object_type node
object_id 1
object_name node1
copy_id
reporting_node_id 1
reporting_node_name node1
root_sequence_number
event_count 1
status alert
fixed yes
auto_fixed no
notification_type error
event_id 073003
event_id_text More/Less fibre channel ports operational
error_code 1060
error_code_text Fibre Channel ports not operational
machine_type 21458F4
serial_number 75BZPMA
fru none
fixed_timestamp 111202141004
fixed_timestamp_epoch 1322835004
callhome_type hardware
sense1 03 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sense2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sense3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sense4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sense5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sense6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sense7 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sense8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00