Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

affix timestamp 2

Status
Not open for further replies.

viadisky

Technical User
Jun 19, 2003
110
GB
Hi,

How can I place the Timestamp at the beginning of each line. Basically creating/adding another column showing the timestamp for each block of data. Note that there are two blocks of data here:

Date 28/06/2006 Time 0:00:40
Date 28/06/2006 Time 0:01:24

And then creating another column showing the average of the three response times. Example output data will be:

Code:
Date 28/06/2006 Time  0:00:40,  1, 98 ms, 99 ms, 100 ms, 172.18.51.98, 99ms

The last data = 99 ms (last column)is the average of the three response time intervals included in the original data.



Code:
---------------------------------
  Date 28/06/2006 Time  0:00:40
---------------------------------
 
Tracing route to [URL unfurl="true"]www.bbc.net.uk[/URL] [212.58.227.74]
over a maximum of 30 hops:
 
  1    98 ms    99 ms   100 ms  172.18.51.98
  2    88 ms    89 ms   100 ms  172.18.12.193
  3   119 ms   110 ms   109 ms  172.26.160.198
  4   118 ms   319 ms   110 ms  172.26.161.234
 
Trace complete.
 
---------------------------------
  Date 28/06/2006 Time  0:01:24
---------------------------------
 
Tracing route to [URL unfurl="true"]www.bbc.net.uk[/URL] [212.58.227.74]
over a maximum of 30 hops:
 
  1   117 ms    98 ms   100 ms  172.18.51.98
  2    88 ms    89 ms    90 ms  172.18.12.193
  3   129 ms   109 ms   130 ms  172.26.160.198
  4   118 ms   109 ms   109 ms  172.26.161.234
  5   128 ms   119 ms   109 ms  172.18.107.226
  
Trace complete.

Many thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top