dumperrlog

You can use the dumperrlog command to dump the contents of the error log to a text file.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svctask -- -- dumperrlog -- -------------------------------->

>--+------------------------------+----------------------------><
   '- -prefix -- filename_prefix -'

Parameters

-prefix filename_prefix
A file name is created from the prefix and a time stamp, and has the following format:
<prefix>_NNNNNN_YYMMDD_HHMMSS
where NNNNNN is the node front panel name.
Note:Note: If the -prefix parameter is not supplied, the dump will be directed to a file with a system-defined prefix of "errlog".

Description

When executed with no arguments, the command dumps the cluster error log to a file using a system-supplied prefix of "errlog", which includes the node ID and time stamp. When a file name prefix is provided, the same operation is performed but the details are stored in the dumps directory in a file with a name that starts with the specified prefix.

A maximum of ten error-log dump files are kept on the cluster. When the 11th dump is made, the oldest existing dump file is overwritten.

Error log dump files are written to /dumps/elogs. The contents of this directory can be viewed using the svcinfo lserrlogdumps command.

Possible failures

Examples

An invocation example

svctask dumperrlog -prefix testerrorlog