How to figure out the meaning behind Recv-Q and Send-Q from netstat?

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
netstat -ntp
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
tcp 8203139 0 127.0.0.1:9503 127.0.0.1:47666 ESTABLISHED 34390/python
tcp 8179744 0 127.0.0.1:9503 127.0.0.1:47686 ESTABLISHED 34390/python
I have read the answer posted here but still have some doubts about if the program is having queues stacked on send or receive queues. For eg. what is happening in below two lines of netstat -ntp output ? is the processId 34390 is getting queued data while sending or receiving and on which port number the queue is occuring on ?
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
linux ubuntu networking netstat
add a comment |Â
up vote
0
down vote
favorite
netstat -ntp
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
tcp 8203139 0 127.0.0.1:9503 127.0.0.1:47666 ESTABLISHED 34390/python
tcp 8179744 0 127.0.0.1:9503 127.0.0.1:47686 ESTABLISHED 34390/python
I have read the answer posted here but still have some doubts about if the program is having queues stacked on send or receive queues. For eg. what is happening in below two lines of netstat -ntp output ? is the processId 34390 is getting queued data while sending or receiving and on which port number the queue is occuring on ?
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
linux ubuntu networking netstat
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
netstat -ntp
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
tcp 8203139 0 127.0.0.1:9503 127.0.0.1:47666 ESTABLISHED 34390/python
tcp 8179744 0 127.0.0.1:9503 127.0.0.1:47686 ESTABLISHED 34390/python
I have read the answer posted here but still have some doubts about if the program is having queues stacked on send or receive queues. For eg. what is happening in below two lines of netstat -ntp output ? is the processId 34390 is getting queued data while sending or receiving and on which port number the queue is occuring on ?
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
linux ubuntu networking netstat
netstat -ntp
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
tcp 8203139 0 127.0.0.1:9503 127.0.0.1:47666 ESTABLISHED 34390/python
tcp 8179744 0 127.0.0.1:9503 127.0.0.1:47686 ESTABLISHED 34390/python
I have read the answer posted here but still have some doubts about if the program is having queues stacked on send or receive queues. For eg. what is happening in below two lines of netstat -ntp output ? is the processId 34390 is getting queued data while sending or receiving and on which port number the queue is occuring on ?
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
linux ubuntu networking netstat
asked Mar 7 at 13:09
satch_boogie
150111
150111
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
means that process 34390 has a connection open, between port 9503 on the local host, and port 47654 on the local host, and that 8216172 bytes of data have been received by the kernel on port 9503 but havenâÂÂt yet been copied by the process.
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
means that process 34379 has a connection open, between port 47686 on the local host, and port 9503 on the local host, and that 4189632 bytes of data have been sent from port 47686 but not acknowledged yet (so theyâÂÂre still in the TCP window).
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
means that process 34390 has a connection open, between port 9503 on the local host, and port 47654 on the local host, and that 8216172 bytes of data have been received by the kernel on port 9503 but havenâÂÂt yet been copied by the process.
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
means that process 34379 has a connection open, between port 47686 on the local host, and port 9503 on the local host, and that 4189632 bytes of data have been sent from port 47686 but not acknowledged yet (so theyâÂÂre still in the TCP window).
add a comment |Â
up vote
2
down vote
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
means that process 34390 has a connection open, between port 9503 on the local host, and port 47654 on the local host, and that 8216172 bytes of data have been received by the kernel on port 9503 but havenâÂÂt yet been copied by the process.
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
means that process 34379 has a connection open, between port 47686 on the local host, and port 9503 on the local host, and that 4189632 bytes of data have been sent from port 47686 but not acknowledged yet (so theyâÂÂre still in the TCP window).
add a comment |Â
up vote
2
down vote
up vote
2
down vote
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
means that process 34390 has a connection open, between port 9503 on the local host, and port 47654 on the local host, and that 8216172 bytes of data have been received by the kernel on port 9503 but havenâÂÂt yet been copied by the process.
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
means that process 34379 has a connection open, between port 47686 on the local host, and port 9503 on the local host, and that 4189632 bytes of data have been sent from port 47686 but not acknowledged yet (so theyâÂÂre still in the TCP window).
tcp 8216172 0 127.0.0.1:9503 127.0.0.1:47654 ESTABLISHED 34390/python
means that process 34390 has a connection open, between port 9503 on the local host, and port 47654 on the local host, and that 8216172 bytes of data have been received by the kernel on port 9503 but havenâÂÂt yet been copied by the process.
tcp 0 4189632 127.0.0.1:47686 127.0.0.1:9503 ESTABLISHED 34379/python
means that process 34379 has a connection open, between port 47686 on the local host, and port 9503 on the local host, and that 4189632 bytes of data have been sent from port 47686 but not acknowledged yet (so theyâÂÂre still in the TCP window).
answered Mar 7 at 13:16
Stephen Kitt
141k22307367
141k22307367
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f428744%2fhow-to-figure-out-the-meaning-behind-recv-q-and-send-q-from-netstat%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password