lserrlogbyfcmap

This command displays the error log by FlashCopy mapping.

Syntax

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

>--+-----------------------+-- --+--------------------+-- ------>
   '- -delim -- delimiter -'     '- -count -- number -'

>--+------------+-- --+--------------+-------------------------><
   +- -config --+     +- fcmap_id ---+
   '- -unfixed -'     '- fcmap_name -'

Parameters

-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.
-count number
Optionally specifies to only list the last number entries in the log. -count specifies the maximum number of errors or events to list.
-config
Optionally specifies to only list configuration events. When -config is passed, the command will act as described above, but only list configuration events.
-unfixed
Optionally specifies to only list unfixed errors. When -unfixed is passed, the command will act as above, but will only list unfixed errors.
fcmap_id | fcmap_name
Optionally specifies the object id used to filter the log.

Description

When executed this command will display a list of the errors and events in the log related to flash copy mappings. The list can be filtered further by specifying a specific object ID or name. This will return 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:Note: Although there is an object type of unknown displayed in the error log, there is no command with which to filter these object types.

Possible failures

Examples

An invocation example

svcinfo lserrlogbyfcmap -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:flash:no:no:5:node1:0:0:030407085753:030407085753:1:00990185
0:flash:no:no:5:node1:0:0:030407083355:030407083355:1:00990185
0:flash:no:no:5:node1:0:0:030407083318:030407083318:1:00990185
0:flash:no:no:5:node1:0:0:030407082704:030407082704:1:00990184

(C) Copyright International Business Machines Corporation 2003, 2004