how to find out how long a TCP connection has been made

Dave Germiquet davegermiquet-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Jan 11 20:38:22 UTC 2008


Hi All,

If I want to find out how long a TCP connection has been established
how would I do that?

Would it be using this option:

  -o, --timers
       Include information related to networking timers.

It returns something like this:

tcp        0      0 127.0.0.1:3308              127.0.0.1:38988
     ESTABLISHED keepalive (5442.87/0/0)

So My guess is its been connected for 5442, but I'm having trouble
finding if I am understanding correctly.
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list