Hi,
Need shell script to get Alert log errors that occurred in past 24 hours & also b/w given time duration. I am using (Red Hat 4.1.2) and 11.1.0.7
For example: If we run the script it should prompt me for date/time, it should fetch me the errors occured during that time.
Date:27
Month:Nov
Year:2012
HH:08
MM:20
SS:43
It should fetch me the errors occured at this point of time from the alert log. If there are no errors just display a message "no errors" and display the actual text from alert log at that time as,
NO ERRORS
Actual message:
Tue Nov 27 08:20:43 2012
Archived Log entry 8354 added for thread 1 sequence 2710 ID 0x1ea92ad6 dest 1