dang: how to display the process ass'd with an active port
Amar Takhar
verm at drunkmonk.net
Wed Feb 18 16:14:34 PST 2004
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.
More information about the freebsd-newbies
mailing list