Hi there,
Our system has a logfile that is generated for an application when it starts and completes.
The format of the date/time is:
DD-MMM-YY@HH:MM:SS <msg>
example:
20-May-04@18:00:00 Started
I want to write a script that will display the logfile from a certain time to the same time within a 24 hour period.
For example: I have an application that starts at 21:15 every night, I would like to display all of the data in the logfile from 19-May-04 21:15:00 to 20-May-04 21:15:00..
Any good hints/tips on how to do this? Thanks so much for any help!
Our system has a logfile that is generated for an application when it starts and completes.
The format of the date/time is:
DD-MMM-YY@HH:MM:SS <msg>
example:
20-May-04@18:00:00 Started
I want to write a script that will display the logfile from a certain time to the same time within a 24 hour period.
For example: I have an application that starts at 21:15 every night, I would like to display all of the data in the logfile from 19-May-04 21:15:00 to 20-May-04 21:15:00..
Any good hints/tips on how to do this? Thanks so much for any help!