Reputation: 2026
I have a distributed application where I can load a large batch of data into it. Unfortunately, my application isn't able push data over the network as fast as I'd expect: if I scp over the file, the network bandwidth (as reported by dstat --net
) is ~120Mb/s, whereas my application only pushes ~80Mb/s.
How do I observe the TCP connection variables for the sockets used by my process to figure out where the bottleneck is? In particular, I would love to measure:
Upvotes: 0
Views: 754
Reputation: 2026
cat /proc/net/tcp
(its the second to last column). /proc/net/tcp
or netstat --tcp
, although that doesn't also show me the max send buffer size. Upvotes: 1