From owner-freebsd-questions@FreeBSD.ORG Tue Jan 4 16:16:47 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55B5F16A4CE for ; Tue, 4 Jan 2005 16:16:47 +0000 (GMT) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id D254143D31 for ; Tue, 4 Jan 2005 16:16:44 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from bsdbox.farid-hajji.net (bsdbox [192.168.254.3]) by fw.farid-hajji.net (Postfix) with ESMTP id 6EAFF4B771; Tue, 4 Jan 2005 17:17:08 +0100 (CET) Date: Tue, 4 Jan 2005 17:17:16 +0100 From: cpghost@cordula.ws To: Brian Henning Message-ID: <20050104161716.GA32455@bsdbox.farid-hajji.net> References: <47f8d9310501040807598aa18c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47f8d9310501040807598aa18c@mail.gmail.com> User-Agent: Mutt/1.5.6i cc: FreeBSD Questions Subject: Re: port process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 16:16:47 -0000 On Tue, Jan 04, 2005 at 10:07:00AM -0600, Brian Henning wrote: > Hey, > > I have a xvfb process that needs a network port (6112 I think), but > there is a process already using the port. The problem is that I don't > know what the process is that is using it. Is there a way in unix to > tell what process is using a specific network port. $ sockstat -46 | grep ':6112' > Thanks, > > H Cheers, -cpghost. -- Cordula's Web. http://www.cordula.ws/