Subject: Re: Identifying Process/Command For Listening Socket
To: NetBSD netbsd-help mailing list <netbsd-help@netbsd.org>
From: Julian Coleman <jdc@coris.demon.co.uk>
List: netbsd-help
Date: 12/20/2002 15:14:34
> The "netstat -an" command shows me UDP port 65506 is open for listening:
> How can I identify the PID or Command for a listening UDP port on NetBSD 1.5.2?
Use fstat? For example (port 993) :
$ netstat -an
...
tcp 0 0 *.993 *.* LISTEN
...
$ fstat | grep 993
root inetd 265 23* internet stream tcp f083b6f8 *:993
J
--
My other computer also runs NetBSD
http://www.netbsd.org/