I have log file that contains job names with start and end times. I have to search through the log to find "jobname started" and hold it, then search again for "jobname ended", and then report the jobname, start time, end time, elapsed time.
I have 12 jobs to search for and report on, so that may alter the way to track this down. Any thoughts on how to write a sophisticated search and report results?
example of log:
Fri Jul 08 13:44:55 EDT 2005 ......jobname started.
...
...
Fri Jul 08 13:49:45 EDT 2005 ......jobname ended.
Thanks.
I have 12 jobs to search for and report on, so that may alter the way to track this down. Any thoughts on how to write a sophisticated search and report results?
example of log:
Fri Jul 08 13:44:55 EDT 2005 ......jobname started.
...
...
Fri Jul 08 13:49:45 EDT 2005 ......jobname ended.
Thanks.