Translate

Friday, 31 January 2014

ERROR LOGGING / LOGS



/usr/lib/errdemon -l         Displays errorlog attributes.
/usr/lib/errdemon            Starts error logging.
/usr/lib/errstop             Stops error logging.

errpt                        Displays summary errorlog report.
errpt -a                     Displays detailed errorlog report.
errpt -j (identifier)        Displays singe errorlog report.

Note : errorlog classes are H=Hardware S=Software O=Information V=Undetermined

errclear (days)              Deletes all error classes in the errorlog.
errclear -d (class) (days)   Deletes all error class entries in errlog.

Note : The errclear command will delete all entries older than the numbers of
       days specified in the days paramenter. To delete ALL entries used 0.

errlogger "message up to 230 chrs"  
Enters an operator notifaction message into the errorlog.

alog -L                      Lists all logs define in the alog db

alog -o -t (type)            Display contents of log (type)
alog -o -t boot

cat /tmp/boot.log | alot -q -t (type)    Copies contects of a file to a log

No comments:

Post a Comment