What options to netstat will tell me what protocols are listening on what ports?

2006-12-22 Thread Andrew Falanga

Hi,

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What options to netstat will tell me what protocols are listening on what ports?

2006-12-22 Thread cpghost
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/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]