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

The name of the pictureThe name of the pictureThe name of the pictureClash 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






share|improve this question
























    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






    share|improve this question






















      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






      share|improve this question












      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








      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 7 at 13:09









      satch_boogie

      150111




      150111




















          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).






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            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






























            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).






            share|improve this answer
























              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).






              share|improve this answer






















                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).






                share|improve this answer












                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).







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 7 at 13:16









                Stephen Kitt

                141k22307367




                141k22307367






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    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













































































                    Popular posts from this blog

                    Peggy Mitchell

                    Palaiologos

                    The Forum (Inglewood, California)