![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Average completion time calculation? | Seawall | UNIX for Dummies Questions & Answers | 5 | 05-20-2008 07:13 AM |
| SOA and eXtreme Transaction Processing (XTP) | iBot | Complex Event Processing RSS News | 0 | 03-02-2008 12:10 PM |
| Average Time | sambond | UNIX for Dummies Questions & Answers | 1 | 01-16-2008 10:57 AM |
| WARNING: correctable error from pci0 (upa mid 0) during dvma read transaction. | visveswaran | IP Networking | 1 | 09-28-2005 10:21 AM |
| How to find no of occurances Finding average time? | redlotus72 | UNIX Desktop for Dummies Questions & Answers | 1 | 02-21-2005 03:22 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
average transaction time
Hi all,
I have large daily log file(s) that hold the times for requests and responses on different system requests. What I want to do is work out average transaction times for the day (one log = one day). The problem I'm having is figuring out how to skip rows, i've sorted the output by uniq trans id and then worked out the time taken but then skipping to the next uniq trans id (two lines down) is proving difficult, any sugestions? The below is the example of the extracted lines. Date/TIME, Trans, Link name, uniq trans id, trans status 20070422095251 REQUEST - LINK_2:<437288668/1>: 20070422095251 RESPONSE - LINK_2:<437288668/1>:0: 20070422095251 REQUEST - LINK_2:<437288672/1>: 20070422095251 RESPONSE - LINK_2:<437288672/1>:0: 20070422095251 REQUEST - LINK_2:<437288699/1>: 20070422095252 RESPONSE - LINK_2:<437288699/1>:0: 20070422095252 REQUEST - LINK_2:<437288698/1>: 20070422095252 RESPONSE - LINK_2:<437288698/1>:0: 20070422095252 REQUEST - LINK_2:<437288730/1>: 20070422095253 RESPONSE - LINK_2:<437288730/1>:0: 20070422095253 REQUEST - LINK_2:<437288750/1>: 20070422095253 RESPONSE - LINK_2:<437288750/1>:0: |
|
||||
|
Hi,
All I plan is to display is the number of transactions per second or seconds per tranasction (which ever I decide). From the log I cut out the time and trans id field and that will produce a file sorted by transaction id number. I then want to go through and work out the time taken for each tranasaction, the problem is I don't know how to transend the file and work out the time for each transaction. Should I do a while read statement? I'm not sure. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|