Date: Sat, 30 Jan 1999 18:02:29 +1000 From: Greg Black <gjb@comkey.com.au> To: "Doug" <dougc1@bellatlantic.net> Cc: questions@FreeBSD.ORG, gjb@alpha.comkey.com.au Subject: Re: Identification of the owner of a port Message-ID: <19990130080229.12941.qmail@alpha.comkey.com.au> In-Reply-To: <NCBBLBCJOKCLGMGHLDDLCEFHCBAA.dougc1@bellatlantic.net> of Sat, 30 Jan 1999 01:41:43 EST References: <NCBBLBCJOKCLGMGHLDDLCEFHCBAA.dougc1@bellatlantic.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Ok, I need to find a way to get the owner of a port that is currently > open. Say 'user' opened a connection to example.com at port 23, I need a way > to locally at the box tell what user opened that connection. I can gather > the port numbers via netstat, but I don't know how to associate them to > their owner. Install lsof from the ports or packages, read the man page (especially the -i option), and you're fixed. -- Greg Black <gjb@acm.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990130080229.12941.qmail>