Tag Info

Hot answers tagged


In BSD netstat -p is protocol, whereas it is program in the netstat from net-tools, the BSD version appears to have no equivalent. man is almost always your friend in these cases. BSD has sockstat which gets you what you want but this is does not appear to be there on the OS X I have access to. As already mentioned lsof is probably your most cross ...


Listing the open files with -i should show you the ports in use lsof -i If there's too much output lsof -i | grep squid Works with Linux & OS X

Only top voted, non community-wiki answers of a minimum length are eligible