Date: Fri, 22 Dec 2006 23:32:32 +0100 From: cpghost <cpghost@cordula.ws> To: Andrew Falanga <af300wsm@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: What options to netstat will tell me what protocols are listening on what ports? Message-ID: <20061222223231.GA4208@epia-2.farid-hajji.net> In-Reply-To: <340a29540612221104o6cce1b71u5e392f3b35f4a6c0@mail.gmail.com> References: <340a29540612221104o6cce1b71u5e392f3b35f4a6c0@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 22, 2006 at 12:04:07PM -0700, Andrew Falanga wrote: > In Linux, I would normally use 'netstat -tl' to see a listing of all > listening ports on the tcp protocol; however I'm not having as much luck in > determining what options I need for netstat in FreeBSD. What are the > options that I need to use? > > Andy How about sockstat(1) with the 'l'isten option? % sockstat -46l | grep tcp Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061222223231.GA4208>