January 8, 2008
How to tell process owning open socket without lsof
Normally with lsof
lsof -i tcp:
I found this alternative for if lsof is not available on a server to determine the process associated with an open socket Loop through all the running processes with this command till you find it.
pfile | grep "port:"
Sorry but I think it is only available on Solaris 10.
Filed under Tips by on Jan 8th, 2008.