From owner-freebsd-questions@FreeBSD.ORG Thu Nov 15 19:23:40 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 2620116A41A for ; Thu, 15 Nov 2007 19:23:40 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id BB10613C459 for ; Thu, 15 Nov 2007 19:23:39 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from [192.168.2.62] (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (AUTH: LOGIN seklecki, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Thu, 15 Nov 2007 14:23:38 -0500 id 00056453.473C9CBA.000058FA From: "Brian A Seklecki (Mobile)" To: Yuri In-Reply-To: <1195154430.473c9bfef18f0@webmail.rawbw.com> References: <1195154430.473c9bfef18f0@webmail.rawbw.com> Organization: Collaborative Fusion, Inc. Date: Thu, 15 Nov 2007 14:23:35 -0500 Message-Id: <1195154615.4042.121.camel@new-host> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Mailer: Evolution 2.12.1 (2.12.1-3.fc8) Cc: yuri@tsoft.com, freebsd-questions@freebsd.org Subject: Re: 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:23:40 -0000 On Thu, 2007-11-15 at 11:20 -0800, Yuri wrote: > 'netstat -a' gives me the listing of network connection/listening records. > But there's no link to the process id that opened it. Install ports/sysutils/lsof/ Each socket is a file descriptor. ~BAS > With lots of processes this can be a significant problem to figure out who > opened which connection. > > Yuri > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > >