From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Date: Mon, 02 May 2005 21:14:53 +0000 Subject: Re: [LARTC] How to read the TCP congestion window (cwnd) on Linux? Message-Id: <4276984D.7070004@trash.net> List-Id: References: <427661C9.4080507@iit.cnr.it> In-Reply-To: <427661C9.4080507@iit.cnr.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Antonio Pinizzotto wrote: > > Hi everybody. > Do you know about any way to read the TCP cwnd value (congestion window) > on Linux? > > I have read that on Linux it is not possible to enable a socket option > (to read to cwnd using the program trpt). > > Any way to read the cwnd would be good for me. I already answered your question on the end2end list yesterday: You can get cwnd through the TCP socket monitoring interface using the "ss"-tool from iproute2 (http://developer.osdl.org/dev/iproute2) or by getsockopt(TCP_INFO). Regards Patrick _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc