subscribe iconSubscribe to this information

errlog command

Purpose

Displays or clears the error log.

Syntax

errlog [ -ls][ -seq SequenceNumber ]| -rm Days ]

Description

The errlog command generates an error report from entries in the Virtual I/O Server error log or deletes all entries from the error log older the number of days specified by the Days parameter. To delete all error-log entries, specify a value of 0 for the Days parameter. If no flags are specified a summary report is displayed.

Flags

-ls Displays detailed information about errors in the error log file.
-rm Days Deletes error-log entries older than the number of days specified by the Days parameter.
-seq SequenceNumber Displays information about a specific error in the error log file by the sequence number.

Exit Status

See Exit status for Virtual I/O Server commands.

Examples

  1. To display a complete detailed report, enter:
    errlog -ls
  2. To delete error-log entries older than 5 days, enter:
    errlog -rm 5
  3. To delete all error-log entries, enter:
    errlog -rm 0

Send feedback | Rate this page

Last updated: Fri, Oct 30, 2009