From owner-freebsd-questions@FreeBSD.ORG Sat Jan 13 00:46:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FEE216A415 for ; Sat, 13 Jan 2007 00:46:54 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from daisy2.compar.com (daisy2.compar.com [216.208.38.133]) by mx1.freebsd.org (Postfix) with ESMTP id 70B1713C45E for ; Sat, 13 Jan 2007 00:46:54 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from localhost (localhost.compar.com [127.0.0.1]) by daisy2.compar.com (Postfix) with ESMTP id 51E4A13C424; Fri, 12 Jan 2007 19:38:06 -0500 (EST) X-Virus-Scanned: amavisd-new at compar.com Received: from unknown by localhost (amavisd-new, unix socket) id 6jds4ZPmuSBQ; Fri, 12 Jan 2007 19:38:05 -0500 (EST) Received: from gabby.gsicomp.on.ca (CPE00062566c7bb-CM0011e6ede298.cpe.net.cable.rogers.com [74.109.12.188]) by daisy2.compar.com (Postfix) with ESMTP id 2CA2E13C417; Fri, 12 Jan 2007 19:38:05 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by gabby.gsicomp.on.ca (Postfix) with ESMTP id E4DF76113; Fri, 12 Jan 2007 20:33:38 -0500 (EST) Received: from unknown by localhost (amavisd-new, unix socket) id client-55T7BRJH; Fri, 12 Jan 2007 20:33:20 -0500 (EST) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by gabby.gsicomp.on.ca (Postfix) with ESMTP id A9C7C610F; Fri, 12 Jan 2007 20:33:20 -0500 (EST) Message-ID: <008501c736ac$8ef08270$1200a8c0@gsicomp.on.ca> From: "Matt Emmerton" To: "Michael P. Soulier" , "freebsd-questions" References: Date: Fri, 12 Jan 2007 19:48:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 X-Virus-Scanned: amavisd-new at gsicomp.on.ca Cc: Subject: Re: who's using that port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jan 2007 00:46:54 -0000 > 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