Date: Fri, 12 Jan 2007 19:48:35 -0500 From: "Matt Emmerton" <matt@gsicomp.on.ca> To: "Michael P. Soulier" <msoulier@digitaltorque.ca>, "freebsd-questions" <freebsd-questions@freebsd.org> Subject: Re: who's using that port? Message-ID: <008501c736ac$8ef08270$1200a8c0@gsicomp.on.ca> References: <fb6605670701121643j492c3cddlc80b9896770791b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I came home tonight to find my server with a full /var partition due > to httpd-error.log being very full of error messages. I cleaned it up, > and restarted apache to find that it wouldn't bind to ports 80 and 443 > as they were in use. > > netstat -na confirmed that they were, but not by who. There's no -p > argument to track the pid of the process using the port. > > How do you track that on BSD? See sockstat(1). -- Matt Emmerton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008501c736ac$8ef08270$1200a8c0>