The lserrlogbynode command displays a list of the
errors and events in the log that are related to nodes.
Syntax

>>- svcinfo -- -- lserrlogbynode -- --+--------------------+---->
'- -count -- number -'
>-- --+------------+-- --+----------+-- ------------------------>
+- -config --+ '- -nohdr -'
'- -unfixed -'
>--+-----------------------+-- --+-------------+---------------><
'- -delim -- delimiter -' +- node_id ---+
'- node_name -'
Parameters
- -count number
- (Optional) Specifies the maximum number of errors or events to
list.
- -config
- (Optional) Lists only configuration events.
- -unfixed
- (Optional) Lists only unfixed errors.
- -nohdr
- (Optional) By default, headings are displayed for each column
of data in a concise style view, and for each item of data in a detailed
style view. The -nohdr parameter suppresses
the display of these headings.
Note: If
there is no data to be displayed, headings are not displayed.
- -delim delimiter
- (Optional) By default in a concise view, all columns of data are
space-separated. The width of each column is set to the maximum possible
width of each item of data. In a detailed view, each item of data
has its own row, and if the headers are displayed, the data is separated
from the header by a space. The -delim parameter overrides
this behavior. Valid input for the -delim parameter is a one-byte
character. If you enter -delim : on the command
line, the colon character (:) separates all items
of data in a concise view; for example, the spacing of columns does
not occur. In a detailed view, the data is separated from its header
by the specified delimiter.
- node_id | node_name
- (Optional) Specifies the object ID that filters the log.
Description
This
command displays a list of the errors and events in the log that are
related to nodes. The list can be filtered further by specifying a
specific object ID or name. This list displays only the errors and
events that have been logged against the specified object. The list
can also be filtered to show only the configuration events or the
unfixed errors for the given object type or object ID. Similarly,
the last
x entries against a given object type or object ID
can be listed.
Note: Although an object type unknown is displayed
in the error log, there is no available command to filter this object
type.
An invocation example
svcinfo lserrlogbynode -delim :
The
resulting output
id:type:fixed:SNMP_trap_raised:error_type:node_name:sequence_number:
root_sequence_number:first_timestamp:last_timestamp:number_of_errors:error_code
1:node:no:no:5:node1:0:0:030407082722:030407082722:1:00990501
1:node:no:no:5:node1:0:0:030407082716:030407082716:1:00990501
1:node:no:no:5:node1:0:0:030407052546:030407052546:1:00990383
0:node:no:no:6:node1:105:105:030407082202:030407082717:2:00980500
1:node:no:no:1:node1:102:102:030407052547:030407052547:1:00074001