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.
About Danny W Sheehan
Danny has over 25 years in the IT industry and loves to blog about how to setup computer software, hardware, electronics and gadgets in general.
Link to this post!




No comments yet.