Date: Wed, 18 Feb 2004 17:14:33 -0700 From: Amar Takhar <verm@drunkmonk.net> To: "'freebsd-newbies@freebsd.org'" <freebsd-newbies@freebsd.org> Subject: Re: dang: how to display the process ass'd with an active port Message-ID: <20040219001433.GB9193@drunkmonk.net> In-Reply-To: <B1C5649A402DD51190930002B330A181049EC145@shemp.fhcrc.org> References: <B1C5649A402DD51190930002B330A181049EC145@shemp.fhcrc.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-02-17 15:48 -0800, Goodleaf, John M wrote: > Under 4.9, how can I tell which process is associated with a port? I've > noticed a few oddball ports open on a machine, and I'd like to know which > process did that. Seems straightforward and yet I don't know the answer. Install /usr/ports/sysutils/lsof "list open files". lsof|grep : Usually works great for me! Amar.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040219001433.GB9193>
