celliott has asked for the wisdom of the Perl Monks concerning the following question:
The problem i have is i want to get Queue# time and Queue#-wfr time and show the difference between the two EX: Queue5 time= 10:05:59 and Queue3-WFR time is 10:06:00 the difference is 1 second. Their is no pattern to this for example one time it could be queue4 next time it could be queue5.WHlog.20050904:{/208} {10}, {STATS}, {2005-09-04/10:05:58}, {Work}, { +I}, {PutQueue} "SVC(3/370)"~"Queue1"~ PUT to WHlog.20050904:{/208} {12}, {STATS}, {2005-09-04/10:05:58}, {Work}, { +I}, {PutQueue} "SVC(3/360)"~"Queue2"~ PUT to WHlog.20050904:{/208} {8}, {STATS}, {2005-09-04/10:05:59}, {Work}, {I +}, {PutQueue} "SVC(3/332)"~"Queue3"~ PUT to WHlog.20050904:{/208} {11}, {STATS}, {2005-09-04/10:05:59}, {Work}, { +I}, {PutQueue} "SVC(3/347)"~"Queue4"~ PUT to WHlog.20050904:{/208} {6}, {STATS}, {2005-09-04/10:05:59}, {Work}, {I +}, {PutQueue} "SVC(3/366)"~"Queue5"~ PUT to WHlog.20050904:{/208} {11}, {STATS}, {2005-09-04/10:05:59}, {Work}, { +I}, {PutQueue} "SVC(3/323)"~"Queue6"~ PUT to WHlog.20050904:{/208} {3}, {STATS}, {2005-09-04/10:05:59}, {Work}, {I +}, {PutQueue} "SVC(3/339)"~"Queue7"~ PUT to WHlog.20050904:{/208} {6}, {STATS}, {2005-09-04/10:05:59}, {Work}, {I +}, {PutQueue} "SVC(3/354)"~"Queue8"~ PUT to WHlog.20050904:{/3} {7}, {STATS}, {2005-09-04/10:05:59}, {Work}, {I}, + {GetQueue} "SVC"~"Queue1-WFR"~ token=2879, WHlog.20050904:{/3} {10}, {STATS}, {2005-09-04/10:05:59}, {Work}, {I} +, {GetQueue} "SVC"~"Queue2-WFR"~ token=2893 WHlog.20050904:{/3} {4}, {STATS}, {2005-09-04/10:06:00}, {Work}, {I}, + {GetQueue} "SVC"~"Queue3-WFR"~ token=2249,
2005-09-08 Retitled by g0n, as per Monastery guidelines
Original title: 'time'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: extracting timestamps from logfile
by sh1tn (Priest) on Sep 08, 2005 at 11:35 UTC | |
|
Re: extracting timestamps from logfile
by GrandFather (Saint) on Sep 08, 2005 at 12:01 UTC | |
|
Re: extracting timestamps from logfile
by bradcathey (Prior) on Sep 08, 2005 at 11:54 UTC | |
|
Re: extracting timestamps from logfile
by Cristoforo (Curate) on Sep 08, 2005 at 16:25 UTC | |
by Cristoforo (Curate) on Sep 08, 2005 at 16:56 UTC |