Date: Tue, 17 Feb 2004 16:04:25 -0800 From: "Goodleaf, John M" <jgoodlea@fhcrc.org> To: "'freebsd-newbies@freebsd.org'" <freebsd-newbies@freebsd.org> Subject: NEVERMIND: dang: how to display the process ass'd with an active port Message-ID: <B1C5649A402DD51190930002B330A181049EC146@shemp.fhcrc.org>
next in thread | raw e-mail | index | archive | help
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@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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1C5649A402DD51190930002B330A181049EC146>