How to measure data transfer rate for a specific application by cli

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












When I download a book by Kindle in Mac, it's very slow. So I want to know how much speed it is.



Is there a command for it? I tried netstat, but I couldn't figure out I can measure the rate with it.







share|improve this question


























    up vote
    0
    down vote

    favorite












    When I download a book by Kindle in Mac, it's very slow. So I want to know how much speed it is.



    Is there a command for it? I tried netstat, but I couldn't figure out I can measure the rate with it.







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      When I download a book by Kindle in Mac, it's very slow. So I want to know how much speed it is.



      Is there a command for it? I tried netstat, but I couldn't figure out I can measure the rate with it.







      share|improve this question














      When I download a book by Kindle in Mac, it's very slow. So I want to know how much speed it is.



      Is there a command for it? I tried netstat, but I couldn't figure out I can measure the rate with it.









      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 11 at 13:21









      Rui F Ribeiro

      35.3k1271114




      35.3k1271114










      asked Dec 16 '17 at 10:52









      ironsand

      1,46552243




      1,46552243




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          iftop with give you an ideia of the speed broken by IP addresses. It is a cli based command.



          iftop_img



          ntop also might help, cannot remember if besides the data used, it also includes speed. While ntop can be used from the command line, it shines and it is very easy to use from its own web interface.



          You get those commands via MacPorts



          etherape also gives you a nice visualisation of traffic and speed, in X11 mode, also from MacPorts.



          etherape_img



          Interestingly enough, all the previous programs use the libpcap library, and you can thus apply libPCAP filters that will exclude all types of other traffic to have a cleaner visualisation of the traffic intended.



          On the OS/X native binary side, as the easiest way to achieve what you ask, the little snitch firewall has a network monitor which will give you speeds broken down by application and a depiction of the packets sent all over the World. (in graphical mode). It breaks all the traffic used by applications in quite a nice way.



          However the Little Snitch firewall is paid. (IMO, this application level firewall is worth every cent, but I digress).



          snitch






          share|improve this answer






















          • (I took out iptraf, while text-mode, it is linux specific)
            – Rui F Ribeiro
            Dec 16 '17 at 11:20











          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%2f411233%2fhow-to-measure-data-transfer-rate-for-a-specific-application-by-cli%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
          3
          down vote



          accepted










          iftop with give you an ideia of the speed broken by IP addresses. It is a cli based command.



          iftop_img



          ntop also might help, cannot remember if besides the data used, it also includes speed. While ntop can be used from the command line, it shines and it is very easy to use from its own web interface.



          You get those commands via MacPorts



          etherape also gives you a nice visualisation of traffic and speed, in X11 mode, also from MacPorts.



          etherape_img



          Interestingly enough, all the previous programs use the libpcap library, and you can thus apply libPCAP filters that will exclude all types of other traffic to have a cleaner visualisation of the traffic intended.



          On the OS/X native binary side, as the easiest way to achieve what you ask, the little snitch firewall has a network monitor which will give you speeds broken down by application and a depiction of the packets sent all over the World. (in graphical mode). It breaks all the traffic used by applications in quite a nice way.



          However the Little Snitch firewall is paid. (IMO, this application level firewall is worth every cent, but I digress).



          snitch






          share|improve this answer






















          • (I took out iptraf, while text-mode, it is linux specific)
            – Rui F Ribeiro
            Dec 16 '17 at 11:20















          up vote
          3
          down vote



          accepted










          iftop with give you an ideia of the speed broken by IP addresses. It is a cli based command.



          iftop_img



          ntop also might help, cannot remember if besides the data used, it also includes speed. While ntop can be used from the command line, it shines and it is very easy to use from its own web interface.



          You get those commands via MacPorts



          etherape also gives you a nice visualisation of traffic and speed, in X11 mode, also from MacPorts.



          etherape_img



          Interestingly enough, all the previous programs use the libpcap library, and you can thus apply libPCAP filters that will exclude all types of other traffic to have a cleaner visualisation of the traffic intended.



          On the OS/X native binary side, as the easiest way to achieve what you ask, the little snitch firewall has a network monitor which will give you speeds broken down by application and a depiction of the packets sent all over the World. (in graphical mode). It breaks all the traffic used by applications in quite a nice way.



          However the Little Snitch firewall is paid. (IMO, this application level firewall is worth every cent, but I digress).



          snitch






          share|improve this answer






















          • (I took out iptraf, while text-mode, it is linux specific)
            – Rui F Ribeiro
            Dec 16 '17 at 11:20













          up vote
          3
          down vote



          accepted







          up vote
          3
          down vote



          accepted






          iftop with give you an ideia of the speed broken by IP addresses. It is a cli based command.



          iftop_img



          ntop also might help, cannot remember if besides the data used, it also includes speed. While ntop can be used from the command line, it shines and it is very easy to use from its own web interface.



          You get those commands via MacPorts



          etherape also gives you a nice visualisation of traffic and speed, in X11 mode, also from MacPorts.



          etherape_img



          Interestingly enough, all the previous programs use the libpcap library, and you can thus apply libPCAP filters that will exclude all types of other traffic to have a cleaner visualisation of the traffic intended.



          On the OS/X native binary side, as the easiest way to achieve what you ask, the little snitch firewall has a network monitor which will give you speeds broken down by application and a depiction of the packets sent all over the World. (in graphical mode). It breaks all the traffic used by applications in quite a nice way.



          However the Little Snitch firewall is paid. (IMO, this application level firewall is worth every cent, but I digress).



          snitch






          share|improve this answer














          iftop with give you an ideia of the speed broken by IP addresses. It is a cli based command.



          iftop_img



          ntop also might help, cannot remember if besides the data used, it also includes speed. While ntop can be used from the command line, it shines and it is very easy to use from its own web interface.



          You get those commands via MacPorts



          etherape also gives you a nice visualisation of traffic and speed, in X11 mode, also from MacPorts.



          etherape_img



          Interestingly enough, all the previous programs use the libpcap library, and you can thus apply libPCAP filters that will exclude all types of other traffic to have a cleaner visualisation of the traffic intended.



          On the OS/X native binary side, as the easiest way to achieve what you ask, the little snitch firewall has a network monitor which will give you speeds broken down by application and a depiction of the packets sent all over the World. (in graphical mode). It breaks all the traffic used by applications in quite a nice way.



          However the Little Snitch firewall is paid. (IMO, this application level firewall is worth every cent, but I digress).



          snitch







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 16 '17 at 13:47

























          answered Dec 16 '17 at 11:07









          Rui F Ribeiro

          35.3k1271114




          35.3k1271114











          • (I took out iptraf, while text-mode, it is linux specific)
            – Rui F Ribeiro
            Dec 16 '17 at 11:20

















          • (I took out iptraf, while text-mode, it is linux specific)
            – Rui F Ribeiro
            Dec 16 '17 at 11:20
















          (I took out iptraf, while text-mode, it is linux specific)
          – Rui F Ribeiro
          Dec 16 '17 at 11:20





          (I took out iptraf, while text-mode, it is linux specific)
          – Rui F Ribeiro
          Dec 16 '17 at 11:20













           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f411233%2fhow-to-measure-data-transfer-rate-for-a-specific-application-by-cli%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)