Date: Thu, 27 May 1999 16:50:02 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: W Gerald Hicks <wghicks@bellsouth.net> Cc: Andre Anneck <andre@anneck.de>, freebsd-questions@FreeBSD.ORG Subject: Re: How to check which ports are in use? Message-ID: <19990527165001.A4786@rainbow5.scientia.demon.co.uk> In-Reply-To: <199905270542.BAA34173@bellsouth.net> References: <199905270525.HAA16939@bbaer.muenster.de> <199905270542.BAA34173@bellsouth.net>
next in thread | previous in thread | raw e-mail | index | archive | help
W Gerald Hicks wrote: >> Hi there, >> can someone point me to the place where I can read about how to >> get information about which ports are currently in use? > > Ports? You mean software installed from the ports collection or > something else? > > 'pkg_info -a' will show gobs of information for the former... > > cd /usr/ports/sysutils/lsof && make install clean && man lsof > should help with other types of 'ports'. If he's talking about tcp/udp ports (as in the type listed in /etc/services), `netstat -an | grep LISTEN' will show which of those have a program listening for connections. hopefully Andre will clarify what "ports" he's asking about. -- Ben Smithurst ben@scientia.demon.co.uk 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?19990527165001.A4786>