From owner-freebsd-questions@FreeBSD.ORG Thu Nov 15 19:20:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63DE616A417 for ; Thu, 15 Nov 2007 19:20:34 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3393213C467 for ; Thu, 15 Nov 2007 19:20:34 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (localhost [127.0.0.1]) by mail0.rawbw.com (8.13.8/8.13.8) with ESMTP id lAFJKVVY017921; Thu, 15 Nov 2007 11:20:31 -0800 (PST) Received: (from www@localhost) by mail0.rawbw.com (8.13.8/8.13.8/Submit) id lAFJKVt2017920; Thu, 15 Nov 2007 11:20:31 -0800 (PST) X-Authentication-Warning: mail0.rawbw.com: www set sender to yuri@rawbw.com using -f Received: from sj-webwasher.Cadence.COM (sj-webwasher.Cadence.COM [158.140.1.25]) by webmail.rawbw.com (IMP) with HTTP for ; Thu, 15 Nov 2007 11:20:30 -0800 Message-ID: <1195154430.473c9bfef18f0@webmail.rawbw.com> Date: Thu, 15 Nov 2007 11:20:30 -0800 From: Yuri To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 158.140.1.25 Cc: yuri@tsoft.com Subject: How to know PID responsible for network connection/listen? 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: Thu, 15 Nov 2007 19:20:34 -0000 'netstat -a' gives me the listing of network connection/listening records. But there's no link to the process id that opened it. With lots of processes this can be a significant problem to figure out who opened which connection. Yuri