English flagItalian flagGerman flagSpanish flagFrench flagPortuguese flagJapanese flagKorean flagChinese flagRussian flag
By N2H
Home » Tips » How to tell process owning open socket without lsof

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.