NEVERMIND: dang: how to display the process ass'd with an active
port
Goodleaf, John M
jgoodlea at fhcrc.org
Tue Feb 17 16:05:50 PST 2004
I found the right google string to answer the question.
If anyone's curious (and as ill-informed as I), the answer is lsof. So for
me, lsof -i TCP:<port number> yielded the answer.
Thanks anyway,
John
> -----Original Message-----
> From: Goodleaf, John M
> Sent: Tuesday, February 17, 2004 3:49 PM
> To: 'freebsd-newbies at freebsd.org'
> Subject: dang: how to display the process ass'd with an active port
>
> 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.
>
> Thanks,
> John
>
More information about the freebsd-newbies
mailing list