netdev
[Top] [All Lists]

Re: A TCP monitoring /proc/net file

To: Andi Kleen <ak@xxxxxx>
Subject: Re: A TCP monitoring /proc/net file
From: Federico David Sacerdoti <fds@xxxxxxxxxxx>
Date: Fri, 23 Mar 2001 12:19:14 -0800
Cc: "David S. Miller" <davem@xxxxxxxxxx>, kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
Organization: University of California San Diego
References: <3ABA9E98.81D1413E@xxxxxxxxxxx> <15034.40807.977418.671551@xxxxxxxxxxxxxxx> <20010323093918.A1476@xxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
The external monitoring made possible by the /proc/net/tcphealth is
interesting because the SRTT is proportional to the speed of one's
network connection, and duplicate acks indicate that packets are being
lost (or reordered, less likely) somewhere in the network.

These are things you might want to know about a connection you are
trying to communicate on - its individual latency and how often packets
are being lost over it.

Would a patch for 2.4.2 be helpful?

Dave

Andi Kleen wrote:

> On Fri, Mar 23, 2001 at 01:57:11AM +0100, David S. Miller wrote:
> >
> > See the TCP_INFO socket option we added to 2.4.x
>
> Sadly TCP_INFO can not be used for external monitoring currently
> (at least not without very bad and racy hacks to allow /proc to open sockets
> in /proc/pid/fd)
>
> -Andi

<Prev in Thread] Current Thread [Next in Thread>