in reply to Parsing my script out put?

I don't completely understand the endeavor: What do you want for a final output?

Guessing: a list of send->response sequences for which the time between the send and response is the desired output?

So output would look something like:

print "sender $ip1 to responder $ip2 took ($timestamp2 - $timestamp1) units of time\n";?

Could you be a little more clear about what your output is intended to be...?

...the majority is always wrong, and always the last to know about it...

Insanity: Doing the same thing over and over again and expecting different results...

Replies are listed 'Best First'.
Re^2: Parsing my script out put?
by MonkeyManChfKiller (Novice) on May 23, 2014 at 16:49 UTC
    Well, im trying to find the time diffrence between the 2 points that match. So the output would be: $ip2 took ($timestamp2 - $timestamp1) to reply $length $length would be the time that $ip2 took to reply, also i dont need to print $ip1 because it would just by my servers ip.