What apps are using the net and when?

isolder

Registered
Is there an app that will let me know what applications at any given time are using the internet?

What port they are using is not necessarily important to me, just to know if "this app" or "that app" is connecting to the internet in some way shape or form. Want to know if something I don't think should be accessing the net is without asking me.

Thanks.
 
I get a lot of hard disk activity when I'm on the net. Sometimes, it slows my mac down a little.

It gets me a little worried - is someone snooping around on my computer?

I'm no net work guru, so I wouldn't know if that's viable or not.

Just to be safe, I've switched on my firewall...
 
Well, you can always run top, which will tell you everything that's running. If you're familiar enough with network programs, you can determine what connects to the Internet or not; if not, post the list of running tasks here and we'll try to sort through them.
 
Well, you could always do that... but wouldn't it be nice if there were a Cocoa front-end to this so you could just get a list what apps were downloading and uploading and at what rates
 
I did run top and that's one of things that worried me. There were three else four little daemons running plus about another half dozen applications I've never seen running before.

The next time I get this, I'll do a screen grab and post it...
 
The easiest way is to use terminal and type "lsof -i" (without the quotes of course) and hit return. That will give you a list of all the processes that has open files with internet addresses. The result is given like this:
(46)(protocol)(@hostname|hostaddr):)service|port)

where:
46 specifies the IP version, IPv4 or IPv6
that applies to the following address.
'6' may be be specified only if the UNIX
dialect supports IPv6. If neither '4' nor
'6' is specified, the following address
applies to all IP versions.
protocol is a protocol name - TCP or UDP.
hostname is an Internet host name. Unless a
specific IP version is specified, open
network files associated with host names
of all versions will be selected.
hostaddr is a numeric Internet IPv4 address in
dot form; or an IPv6 numeric address in
colon form, enclosed in brackets, if the
UNIX dialect supports IPv6. When an IP
version is selected, only its numeric
addresses may be specified.
service is an /etc/services name - e.g., smtp -
or a list of them.
port is a port number, or a list of them.

You can combine this with "GeekTool", and have it show up on your desktop all the time if you like.

Another way is to use lstat, that show a similar result.
 
Back
Top