Tag netstat pid

netstat pid mac

having trouble identifying the pid using netstat on a mac? Try this instead: # sudo lsof -i -P This will list all open files and the current socket they are using and the actual port (using an integer).