Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2011 09:24:17 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Terrence Koeman <root@mediamonks.net>
Cc:        Brad Mettee <bmettee@pchotshots.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: no apache22, php5 cores
Message-ID:  <4D3AA241.8040302@infracaninophile.co.uk>
In-Reply-To: <ccaf8e6b1361d74999312205764b0140@mediamonks.com>
References:  <ccaf8e6b1361d74999312205764b0140@mediamonks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig17A5AFAB1F53009649BD03EF
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 22/01/2011 01:23, Terrence Koeman wrote:
> Might also want to try 'lsof -nPi |grep LISTEN', that shows what
> process is listening as well. Maybe not really added value here, but
> it sure helps when you're troubleshooting address/port in use errors
> and such.

sockstat(1) does this job and it is part of the base system.  To show
listening IPv4 and IPv6 network sockets:

    sockstat -4 -6 -l

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enig17A5AFAB1F53009649BD03EF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk06okkACgkQ8Mjk52CukIwg3QCfZp4MPOa6hXSidKomOHQgarpm
cEUAn1cTzCzdOEiUsgp9IpO16PF2KqfX
=skh2
-----END PGP SIGNATURE-----

--------------enig17A5AFAB1F53009649BD03EF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D3AA241.8040302>