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

Clash 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.
networking osx
add a comment |Â
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.
networking osx
add a comment |Â
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.
networking osx
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.
networking osx
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
add a comment |Â
add a comment |Â
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.

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.

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

(I took out iptraf, while text-mode, it is linux specific)
â Rui F Ribeiro
Dec 16 '17 at 11:20
add a comment |Â
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.

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.

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

(I took out iptraf, while text-mode, it is linux specific)
â Rui F Ribeiro
Dec 16 '17 at 11:20
add a comment |Â
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.

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.

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

(I took out iptraf, while text-mode, it is linux specific)
â Rui F Ribeiro
Dec 16 '17 at 11:20
add a comment |Â
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.

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.

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

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

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.

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

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
add a comment |Â
(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
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%2f411233%2fhow-to-measure-data-transfer-rate-for-a-specific-application-by-cli%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