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 | Node machine type and model number | The value is an alphanumeric string up to 7 characters long. |
serial number | Node serial number | The value is an alphanumeric string up to 7 characters long. |
sequence_number | Sequence number of the event | The value is numeric from 0 to 8000000. |
first_timestamp | When the event was added to the log | The value is in the format YYMMDDHHMMSS. |
first_timestamp_epoch | When the event was added to the log (in seconds) after the epoch occurs | This is a numeric 32-bit value. |
last_timestamp | When the event was most recently updated | The value is in the format YYMMDDHHMMSS. |
last_timestamp_epoch | Most recent update (in seconds) after an epoch for an event | This is a numeric 32-bit value. |
fixed_timestamp | Time stamp when event is fixed | The value is in the format YYMMDDHHMMSS. |
fixed_timestamp_epoch | Time stamp (in seconds) when an event is fixed after an epoch occurs | The value is a numeric string. |
fru | 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 | The type of the object the event is logged against | The values are:
|
object_id | ID of the object the event is logged against | This 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 | 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 | Volume copy ID the event is logged against | This is a numeric value 0 to 1; it is blank if not a vdiskcopy event |
reporting_node_id | ID of the node that reported the event | This is a numeric 64-bit value that is blank if the event is reported by the clustered system |
reporting_node_name | 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 | Sequence number of the root or causal event Important: If the event is directly caused by another
event then the sequence_number of the related event is shown here.
|
This 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 | Number of reported events that have been combined into this event | This is a numeric 32-bit value. |
status | 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 if event is marked fixed by the code | The values are:
|
notification_type | Type of event notification | The values are:
|
event_id | Event ID | This is a 6-digit numeric value. |
event_id_text | Description associated with the event ID | This is a text value with a maximum of 200 bytes. This appears in CLI requested language. |
error_code | Error code associated with this event | This is a 4-digit numeric value but is blank if there is no error code. |
error_code_text | Description associated with the error code | This is a text value with a maximum of 200 bytes
that is blank if there is no error code. This appears in CLI requested language. |
description | Description 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). |
sense1 | Sixteen bytes of hex-encoded sense data; least significant byte is on the left | The value is sixteen two-character hexadecimal numbers 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 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