From owner-freebsd-newbies@FreeBSD.ORG Wed Feb 18 16:14:34 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5872016A4CE for ; Wed, 18 Feb 2004 16:14:34 -0800 (PST) Received: from jolly.drunkmonk.net (jolly.drunkmonk.net [63.251.191.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37FD543D1F for ; Wed, 18 Feb 2004 16:14:34 -0800 (PST) (envelope-from verm@jolly.drunkmonk.net) Received: from jolly.drunkmonk.net (localhost [127.0.0.1]) by jolly.drunkmonk.net (8.12.9/8.12.3) with ESMTP id i1J0EXAC009353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Feb 2004 17:14:34 -0700 (MST) (envelope-from verm@jolly.drunkmonk.net) Received: (from verm@localhost) by jolly.drunkmonk.net (8.12.9/8.12.1/Submit) id i1J0EXnT009352 for freebsd-newbies@freebsd.org; Wed, 18 Feb 2004 17:14:33 -0700 (MST) Date: Wed, 18 Feb 2004 17:14:33 -0700 From: Amar Takhar To: "'freebsd-newbies@freebsd.org'" Message-ID: <20040219001433.GB9193@drunkmonk.net> Mail-Followup-To: "'freebsd-newbies@freebsd.org'" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: dang: how to display the process ass'd with an active port X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 00:14:34 -0000 On 2004-02-17 15:48 -0800, Goodleaf, John M wrote: > Under 4.9, how can I tell which process is associated with a port? I've > noticed a few oddball ports open on a machine, and I'd like to know which > process did that. Seems straightforward and yet I don't know the answer. Install /usr/ports/sysutils/lsof "list open files". lsof|grep : Usually works great for me! Amar.