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

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


I apologize, I forgot to mention what command I am using.

The application I am using and parameters are:

# netstat -ano

On Jan 11, 2008 3:38 PM, Dave Germiquet <davegermiquet-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> 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
>
--
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