Subject: Re: command to inentify the process that is listening in a port.
To: Siju George <sgeorge.ml@gmail.com>
From: Andy Ruhl <acruhl@gmail.com>
List: netbsd-users
Date: 04/09/2007 08:33:09
On 4/9/07, Siju George <sgeorge.ml@gmail.com> wrote:
> Hi,
>
> How Do you actually Identify what process is listening on a TCP/IP port?
> "nmap" does not usually give the right answer.
> There should be some command that can be run on the local host for
> identification right?

sockstat

You'll probably need to use grep to find what you're looking for easily.

Andy