no apache22, php5 cores

Matthew Seaman m.seaman at
Sat Jan 22 09:24:31 UTC 2011

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



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
JID: matthew at               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list