caterrlogbyseqnum

You can use the caterrlogbyseqnum command to display all the errors with a sequence number, or root cause number, as specified by the user.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svcinfo -- -- caterrlogbyseqnum -- ------------------------->

>--+- -num -- sequence_number ----+-- --+----------+-- --------->
   '- -root -- root_cause_number -'     '- -nohdr -'

>--+-----------------------+-----------------------------------><
   '- -delim -- delimiter -'

Parameters

-num sequence_number
Specifies the sequence number to view.
-root root_cause_number
Specifies the root sequence number. All errors marked with this root cause will be displayed.
-nohdr
By default, headings are displayed for each column of data (in a concise style view), and each item of data (in a detailed style view). 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.

Description

This command will return a single error log entry, as specified by the sequence number passed with the -num argument.

If -root argument is used, the log will be searched for all entries marked with a root cause sequence number as specified. This returns a list of all entries marked with this root cause.

Possible failures

Examples

An invocation example

svcinfo caterrlogbyseqnum -num 100 -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

(C) Copyright International Business Machines Corporation 2003, 2004