In Mac OS X, here’s a terminal command …

In Mac OS X, here’s a terminal command to show processes that use your network connection: lsof -P -i -n | cut -f 1 -d " " | uniq