Friday 3 August 2018

macos - Is there any way to view which applications are accessing the Internet on Mac OS X?


I think I remember a command line utility that did this, but I can't remember what it's called and a few Google searches turn up nothing.



Answer



sudo lsof -i -P | grep -i "listen"  

from List open ports on your machine (Mac OS X).


It was the second google result for "list sockets mac osx"


You could grep tcp or udp instead to get outbound ports instead of listening ports.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...