Guys!!
I am try to build up a shell script which scans for permenant hardware errors in AIX error log and mail to specific users about these errors!!
i have nearly succeded in doing so , but stuck up at one step...
See , i am using errpt -s command with current date/time of system ( and this date/time is off course is the system time at which the script is run by cron)....
problem is that how can i insert date value of 24 hours back ( from current system time ) with errpt -s .... as i want to scan for only those errors which arrive in last 24 hours only....
Does somebody help me for providing any way to scan for errors in last 24 hours only..
Thanks in advance
Polani
Here comes polani Once again!!!
P690 Certified Specailist
HACMP & AIX Certified Specailist
AIX & HACCMP Instructor
I am try to build up a shell script which scans for permenant hardware errors in AIX error log and mail to specific users about these errors!!
i have nearly succeded in doing so , but stuck up at one step...
See , i am using errpt -s command with current date/time of system ( and this date/time is off course is the system time at which the script is run by cron)....
problem is that how can i insert date value of 24 hours back ( from current system time ) with errpt -s .... as i want to scan for only those errors which arrive in last 24 hours only....
Does somebody help me for providing any way to scan for errors in last 24 hours only..
Thanks in advance
Polani
Here comes polani Once again!!!
P690 Certified Specailist
HACMP & AIX Certified Specailist
AIX & HACCMP Instructor