caterrlog

You can use the caterrlog command to return the contents of the cluster error and event log.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svcinfo -- -- caterrlog -- --+----------+-- ---------------->
                                 '- -nohdr -'

>--+-----------------------+-- --+------------+-- -------------->
   '- -delim -- delimiter -'     +- -config --+
                                 '- -unfixed -'

>--+-----------------------------------------+-----------------><
   '- -first -- number_of_entries_to_return -'

Parameters

-nohdr
By default, headings are displayed for each column of data (in a concise style view providing general information about objects of a particular type), and each item of data (in a detailed style view providing much more information about a specific object of a particular type). Using the -nohdr parameter will suppress the display of these headings.
Note:Note: If there is no data to be displayed (for example, an empty view has been returned), then headings are not displayed irrespective of whether the -nohdr option was used or not.
-delim delimiter
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. Using the -delim parameter will override this behavior. Valid input for the -delim parameter is a one byte character. If, for example, you entered -delim : a colon will be used to separate all items of data in a concise view (for example, the spacing of columns does not occur) and in a detailed view the data is separated from its header by a colon.
-config
Optionally specifies to list the configuration events.
-unfixed
Optionally specifies to list the unfixed errors.
-first number_of_entries_to_return
Optionally specifies to display the first n number of entries in the log, where n is the number entered by the user as an argument to the -first flag.

Description

This command returns a list of the specified error log entries. When no flags are passed, all error log entries are listed.

The list can be filtered to only include configuration events, or unfixed errors by specifying the -config or -unfixed arguments.

Using the -first parameter will result in the first x number of records being displayed, where x is the number entered as an argument for the -first parameter.

Possible failures

Examples

An invocation example

svcinfo caterrlog -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
0:cluster:no:no:6:node1:100:100:030407052547:030407052547:1:00981001
0:fc_card:no:no:1:node1:101:101:030407052547:030407052547:1:00073001
1:node:no:no:1:node1:102:102:030407052547:030407052547:1:00074001
0:cluster:no:no:6:node1:103:100:030407052547:030407052547:1:00981001
1:fc_card:no:no:1:node1:104:104:030407052632:030407052632:1:00073003
0:node:no:no:6:node1:105:105:030407082202:030407082717:2:00980500
2:remote:no:no:6:n/a:106:106:030407090117:030407090117:1:00985002
1:node:no:no:5:node1:0:0:030407052546:030407052546:1:00990383
0:cluster:no:no:5:node1:0:0:030407080630:030407080630:1:00990117
0:mdisk_grp:no:no:5:node1:0:0:030407081610:030407081610:1:00990148
128:mdisk_grp:no:no:5:node1:0:0:030407081610:030407081610:1:00990173
1:mdisk_grp:no:no:5:node1:0:0:030407081619:030407081619:1:00990148
0:vdisk:no:no:5:node1:0:0:030407081836:030407081836:1:00990169
1:vdisk:no:no:5:node1:0:0:030407081843:030407081843:1:00990169
0:vdisk:no:no:5:node1:0:0:030407081854:030407081854:1:00990169
0:vdisk:no:no:5:node1:0:0:030407082015:030407082015:1:00990169
0:vdisk:no:no:5:node1:0:0:030407082145:030407082145:1:00990169
0:vdisk:no:no:5:node1:0:0:030407082148:030407082148:1:00990169
0:vdisk:no:no:5:node1:0:0:030407082158:030407082158:1:00990169
1:vdisk:no:no:5:node1:0:0:030407082213:030407082213:1:00990169
0:host:no:no:5:node1:0:0:030407082441:030407082441:1:00990106
1:host:no:no:5:node1:0:0:030407082457:030407082457:1:00990106
2:host:no:no:5:node1:0:0:030407082523:030407082523:1:00990106
0:flash:no:no:5:node1:0:0:030407082704:030407082704:1:00990184
1:node:no:no:5:node1:0:0:030407082716:030407082716:1:00990501
1:node:no:no:5:node1:0:0:030407082722:030407082722:1:00990501
1:fc_const_grp:no:no:5:node1:0:0:030407083141:030407083141:1:00990204
2:fc_const_grp:no:no:5:node1:0:0:030407083143:030407083143:1:00990204
3:fc_const_grp:no:no:5:node1:0:0:030407083145:030407083145:1:00990204
0:flash:no:no:5:node1:0:0:030407083318:030407083318:1:00990185
0:flash:no:no:5:node1:0:0:030407083355:030407083355:1:00990185
0:flash:no:no:5:node1:0:0:030407085753:030407085753:1:00990185
1:remote:no:no:5:node1:0:0:030407085932:030407085932:1:00990225
2:vdisk:no:no:5:node1:0:0:030407085959:030407085959:1:00990169
3:vdisk:no:no:5:node1:0:0:030407090004:030407090004:1:00990169
4:vdisk:no:no:5:node1:0:0:030407090013:030407090013:1:00990169
2:remote:no:no:5:node1:0:0:030407090106:030407090106:1:00990225
255:rc_const_grp:no:no:5:node1:0:0:030407090323:030407090323:1:00990240
254:rc_const_grp:no:no:5:node1:0:0:030407090327:030407090327:1:00990240
253:rc_const_grp:no:no:5:node1:0:0:030407090333:030407090333:1:00990240
2:remote:no:no:5:node1:0:0:030407090442:030407090442:1:00990226
1:vdisk:no:no:5:node1:0:0:030407090820:030407090820:1:00990182
3:vdisk:no:no:5:node1:0:0:030407090825:030407090825:1:00990182  

(C) Copyright International Business Machines Corporation 2003, 2004