[Solved] How to query tcp buffer sizes for a certain socket?
Hi folks,
Does anybody know how to query the tcp buffer sizes for certain socket?
For example lets say I run iperf3 -c foo.example.com
and want to query the tcp buffer sizes that are used for the tcp socket created for iperf3. How could I do that?
I tried to get a look into the file descriptor by running cat /proc/<PID>/fd/3
and so on but got a 'no such file or directory' error every time.
I do not want to query the general limits from /proc/sys/net/ipv4/tcp_mem
. I would like to know the concrete parameters for a certain socket.
Thanks in advance for your help.
Best regards,
Joerg K.