I am facing some issues with my Application, and am curious to know the network buffer usage at any given moment.
I am using a CentOS 6 linux Machine.
I know the Default values are present in /proc/sys/net/core/
But i have not been successful in finding the current usage of the Buffers. If any one has any clue on how to find the current usage, please let me know.
Thanks in advance.
Best Answer
If you run
ss
ornetstat
the valuesRecv-Q
andSend-Q
produce this output.I.E
I have added a simple python program to demonstrate this.
Which produces