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.

c12cc86541b739bf9a14252fd410505c 100 How to tell process owning open socket  without lsof

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.



No comments yet.

Leave a Reply

CommentLuv badge