pid of processes with open ports

November 29, 2007

Somehow the netstat of OS X does not have the ability to show the PID of the different open sockets. Instead, use this:

 lsof -i -P 

Thanks to ynniv for that one.

Leave a Reply