dumperrlog

You can use the dumperrlog command to dump the contents of the error log to a text file. You can also use the command to delete unwanted error log dumps from the cluster.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svcservicetask -- -- 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, this 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 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.

Files will not be deleted from other nodes until you issue the cleardumps command.

Possible failures

Examples

An invocation example

svcservicetask dumperrlog -prefix testerrorlog