1

Is there any command or script to retrieve the current TCP congestion window of a tcp connection. So suppose some communication is going on over tcp through the network interface (eg. eth0), now is there any way to dynamically (periodically) retrieve the tcp congestion window?(in Linux platform)

Slayer
  • 2,391
  • 4
  • 21
  • 18
  • Note that the TCP congestion window is maintained per TCP connection , not per network interface. Though, on TCP connection setup, the congestion windows is set to the maximum segment size, which is the MTU of the network interface minus the protocol headers. – nos Jul 14 '12 at 01:46
  • What platform? And is the "I" an actual human being? Or a program? – David Schwartz Jul 14 '12 at 02:11

2 Answers2

3

Is there any command or script to retrieve the current TCP congestion window of a network interface?

No, because there isn't any such thing. Network interfaces don't have congestion windows. Connections do.

user207421
  • 305,947
  • 44
  • 307
  • 483
0

I recommend you to try tcpprobe. By dynamic load tcpprobe, you can get the congestion window size. http://www.linuxfoundation.org/collaborate/workgroups/networking/tcpprobe

juejiang
  • 323
  • 4
  • 15