caterrlogbyseqnum

The caterrlogbyseqnum command displays all the errors with the sequence number or root cause number that has been 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
(Required if -root is not specified) Specifies the sequence number to view.
-root root_cause_number
(Required if -num is not specified) Specifies the root sequence number. All errors that are marked with this root cause are displayed.
-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.

Description

This command displays a single error log entry, determined by the sequence number that is specified as the -num parameter.

If the -root parameter is used, the log is searched for all entries that are marked with a root cause sequence number, as specified. A list of all entries marked with this root cause is displayed.

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:copy_id
0:cluster:no:no:6:node1:100:100:030407052547:030407052547:1:00981001:
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.