AIX Error logging
To display a complete summary report, enter:
errpt
To display a complete detailed report, enter:
errpt -a
To display a detailed report of all errors logged for the error identifier E19E094F, enter:
errpt -a -j E19E094F
To list error-record templates for which logging is turned off for any error-log entries, enter:
errpt -t -F log=0
To view all entries from the alternate error-log file /var/adm/ras/errlog.alternate, enter:
errpt -i /var/adm/ras/errlog.alternate
To view all hardware entries from the error-log file enter:
errpt -d H
To view all software entries from the error-log file enter:
errpt -d S
To display a detailed report of all errors logged for the error label ERRLOG_ON, enter:
errpt -a -J ERRLOG_ON
To display a detailed report of all errors and group duplicate errors, enter:
errpt -aD
To display the error-record template repository, enter:
errpt -t
To disable the reporting of the ERRLOG_OFF event (error ID 192AC071), type the following:
errupdate <Enter>
=192AC071: <Enter>
Report=False <Enter>
<Ctrl-D>
<Ctrl-D>
To enable the reporting of the ERRLOG_OFF event (error ID 192AC071) in case it was turned off, type the following:
errupdate <Enter>
=192AC071: <Enter>
Report=True <Enter>
<Ctrl-D>
<Ctrl-D>
To delete the ERRLOG_OFF event (error ID 192AC071) from the Error Record Template Repository, type the following:
errupdate <Enter>
-192AC071:
<Ctrl-D>
<Ctrl-D>
To disable the logging of the ERRLOG_OFF event (error ID 192AC071), type the following:
errupdate <Enter>
=192AC071: <Enter>
Log=False <Enter>
<Ctrl-D>
<Ctrl-D>
To delete all entries from the error log, enter:
errclear 0
To delete all entries from the error log older than 3 days, enter:
errclear 3
To create an operator message for system drive reconfiguration, enter:
errlogger system drive reconfigured
To delete all entries in the error log classified as software errors, enter:
errclear -d S 0
To clear all entries from the alternate error-log file /var/adm/ras/errlog.alternate, enter:
errclear -i /var/adm/ras/errlog.alternate 0
No comments:
Post a Comment