1754353 Members
4892 Online
108813 Solutions
New Discussion юеВ

PID of a Listener

 
Sam Issa_1
New Member

PID of a Listener

netstat showing that my system is listening on a specific port( not configured
in /etc/services ) for tcp trafic from anywhere.
How can I find the listener's PID ?
4 REPLIES 4
Rick Taylor_5
Advisor

Re: PID of a Listener

The only way I know how to accomplish this is with a utility called lsof (which
I think stands for list open files).

The command is: lsof -i :port-number
Christian Krueger
New Member

Re: PID of a Listener

lsof, that's teh stuff I need ! Could you give me a link for downloading ?
Rick Taylor_5
Advisor

Re: PID of a Listener

I found it at ftp.sunset.se.
Sam Issa_1
New Member

Re: PID of a Listener

Thanks Rick.
That was very useful.
Regards
.