sudo lsof -i +c 0That will give you a list of open network connections, though if the app in question isn't keep a connection open, you might have to time things just right to see it. You can run lsof in a loop using the -r switch, for instance every two seconds:
sudo lsof -i +c 0 -r 2Another approach is just to watch all network activity and see what apps show up when. For this, use fs_usage:
sudo fs_usage -f networkYou can leave that running in the background while you use Excel or whatever, and hit Control+C when you're done (or just close the Terminal window). You can also narrow it down to just Excel by specifying the Process ID (look it up using Activity Monitor). So if Excel's pid is say 212, run:
sudo fs_usage -f network 212
You are not logged in, either login or create an account to post comments
Your problem sounds really weird, my first guess would be a horribly implemented keylogger, but it sounds unlikely. You need to find a reproducible scenario, otherwise you'll never be able to figure out what is happening. Two things you could try out to further debug this are to disconnect your wifi and see if the problem goes away, and use your firewall logs or a packet sniffer to figure out who your computer is talking to when you're typing.
posted by Dr Dracator at 3:37 AM on November 27, 2009