Application for monitoring all applications that are using the internet in Mac OS X

31

18

Can anyone introduce me a Mac OS X application that monitors all network activity such as what applications are now connected to the internet and how much bandwidth they use (I mean show bandwidth separately for each application)?

Am1rr3zA

Posted 2009-10-03T20:15:54.647

Reputation: 4 715

same question on stackoverflow: http://stackoverflow.com/questions/101474/finding-per-process-bandwidth-usage-on-the-mac

– cregox – 2010-11-19T00:42:17.907

Answers

17

If you don't want to buy any fancy GUI software, you can try nettop in Terminal.app

Use the arrow keys or w or s keys for scrolling. Use -n option to disable IP address reverse resolution.

Example of an output:

                                                               interface           state      packets in        bytes in
iTunes.35506                                                                                           0           0 B
    tcp6 *.3689<->*.*                                                             Listen
    tcp4 *:3689<->*:*                                                             Listen
    tcp4 *:57929<->*:*                                                            Listen
Last.fm.35511                                                                                          0           0 B
    tcp4 127.0.0.1:33367<->*:*                                       lo0          Listen
    tcp4 127.0.0.1:32213<->*:*                                       lo0          Listen
Spotify.35589                                                                                        380         227 KiB
    tcp4 192.168.2.18:57621<->192.168.2.15:52137                     en1     Established             194          34 KiB
    tcp4 *:57621<->*:*                                                            Listen
    tcp4 *:49858<->*:*                                                            Listen
    tcp4 192.168.2.18:58339<->193.182.8.12:4070                      en1     Established             186         192 KiB
    tcp4 127.0.0.1:4371<->*:*                                        lo0          Listen
    tcp4 127.0.0.1:4381<->*:*                                        lo0          Listen

Pretty awesome right? Best of all, nettop is embedded in OSX (well at least in Mountain Lion).

yegle

Posted 2009-10-03T20:15:54.647

Reputation: 291

3Is there any way nettop can real-time sort such that processes using the most (current snapshot instead of historical) bandwidth are listed first? – Johnny Utahh – 2014-11-17T14:39:05.737

This is perfect, and if you press the <kbd>d</kbd> key, you can toggle between cumulative totals and the "diff" mode (how much each app used in the last second). – Tom Panning – 2013-01-14T17:00:12.723

2press c-for simplified view for more help h – Natwar Singh – 2014-04-02T18:38:59.690

14

Rubbernet looks good.

Rubbernet provides a breakdown of per-app network usage, so you can quickly detect apps that phone home, connect to certain servers without your knowledge, or blame the app that's slowing down your network.

enter image description here

tom

Posted 2009-10-03T20:15:54.647

Reputation: 281

This app is exactly what the OP is asking for. It works. – Mark Beaton – 2012-04-25T06:19:23.360

6

Try LittleSnitch:

A firewall protects your computer against unwanted guests from the Internet. But who protects your private data from being sent out? Little Snitch does!

enter image description here

alex

Posted 2009-10-03T20:15:54.647

Reputation: 16 172

1You can click on the application in the window and it shows the graph of the network usage per application. – Gray -- SO stop being evil – 2016-03-31T14:49:46.520

1it does show which apps are currently using bandwidth which at times is enough... – rogerdpack – 2012-01-15T01:47:07.930

2I have LittleSnitch but it just show what application use internet don't show BW for each application – Am1rr3zA – 2009-10-03T21:12:18.370

4

Rubbernet is something that does everything you ask for. HOWEVER be warned. It is expensive, and it does not come with the features you'd expect for in basic freeware, let alone an expensive piece of software for monitoring usage. Limitations include:

  • loses all measured data when laptop sleeps
  • loses all measured data when VPN status changes
  • no "total measure" on the summary page: only the individual amounts used per app

GreenAsJade

Posted 2009-10-03T20:15:54.647

Reputation: 174

Furthermore, the support is non-existent. No documentation, no response to tickets... – GreenAsJade – 2012-10-29T20:58:09.193

4

In OSX 10.9 simply use the built in Activity Monitor:

http://support.apple.com/kb/HT5890?viewlocale=en_US&locale=en_US

Bijan

Posted 2009-10-03T20:15:54.647

Reputation: 261

Unfortunately I can't get it to show recent network bandwidth usage per application. Were you able to? – Gray -- SO stop being evil – 2016-03-31T14:53:33.367

2

If you have some Command Line know how, there are some Unix tools you may be able to take advantage of.

iftop: Won't give you a per application breakdown but it will give you a breakdown by remote host. This means that you can at least see who you're sending information too and how much. It's also installable via DarwinPorts.

nethogs: This one may not run on OS X, though it would be more informative. Unfortunately, it's probably a moot point.

You can also check out this other question for more information: Bandwidth Usage in Linux.

Peter Wagenet

Posted 2009-10-03T20:15:54.647

Reputation: 121

nethogs on ubuntu is my best friend... I am searching similar for mac. – Natwar Singh – 2014-04-02T18:40:37.810

2

As of version 4, iStat Menus shows the bandwidth usage of the top 5 applications.

enter image description here

tom

Posted 2009-10-03T20:15:54.647

Reputation: 281

1

I just tried out Little Snitch, having the same basic problem (it seems) as the OP, and having been so disappointed with rubbernet (I weep for my $40).

Little Snitch is exactly what the OP asks for, and has every feature I can dream of in exploring related problems to those implied by the OP's question.

It does report the total bandwidth used by each application individually, and even presents a graph of any selected application or group of applications! Once you realise that you can select one or more rows in the Network Monitor graph, and ask for the collated info of those by presing the info button, it is simple to use. It survives changes of network status seamlessly.

It has a demo that lasts 3 hours, so you can't go wrong.

I think it is the perfect answer to the OP's question.

GreenAsJade

Posted 2009-10-03T20:15:54.647

Reputation: 174

Incidentally, it's "outbound firewall" feature just showed me that I am running an app that is phoning home rather unexpectedly! – GreenAsJade – 2012-10-31T01:52:42.990

0

Hard to use, originally called Ethereal, there's Wireshark.

I never used it myself, but I've tried in the past and it does just about anything.

If you want just to see general bandwidth, use Activity Monitor.

cregox

Posted 2009-10-03T20:15:54.647

Reputation: 5 119

0

If you are using Lion or Mountain Lion I would suggest Icefloor

If you are using Snow Leopard I would suggest NoobProof

They are both free to use and will accomplish your needs

Simon

Posted 2009-10-03T20:15:54.647

Reputation: 4 193

The description doesn't look like these show individual applications' bandwidth. Can you confirm this feature exists, maybe post a screenshot? – Daniel Beck – 2012-12-16T12:58:50.750

@Daniel Beck - In the Noobproof description it states you can tune the bandwidth manage black lists and create self-configuration tools called injectors. – Simon – 2012-12-16T13:10:10.383

I only found "Limiting bandwidth" which is different from "showing actually used bandwidth", which is what the OP asks for. Could you please be more specific? – Daniel Beck – 2012-12-16T13:12:39.173

@Daniel Beck - In the 1st paragraph 7th line down it states you can tune the bandwidth – Simon – 2012-12-16T13:13:48.293

Tuning here means you can set how much network bandwidth can be used by a process I think. That has nothing to do with showing how much a process naturally uses, for instance to see if a certain application is very active when not be explicitly used, or to search for a rootkit/virus/malware. – Gregg Leventhal – 2014-05-30T22:55:42.377