From owner-freebsd-stable@FreeBSD.ORG Sat Jun 10 03:52:11 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBACA16A476 for ; Sat, 10 Jun 2006 03:52:11 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [63.240.77.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8312C43D70 for ; Sat, 10 Jun 2006 03:52:11 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [192.168.214.215] (c-24-1-232-64.hsd1.tx.comcast.net[24.1.232.64]) by comcast.net (sccrmhc12) with ESMTP id <2006061003521001200am3qie>; Sat, 10 Jun 2006 03:52:10 +0000 Message-ID: <448A41E9.9020500@computer.org> Date: Fri, 09 Jun 2006 22:52:09 -0500 From: Eric Schuele User-Agent: Thunderbird 1.5.0.4 (X11/20060604) MIME-Version: 1.0 To: Eduardo Meyer References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: How can I know which files a proccess is accessing? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jun 2006 03:52:11 -0000 On 06/06/06 15:39, Eduardo Meyer wrote: > Hello, > > I need to know which files under /var a proccess (httpd here) is > acessing. It is not logs because I have a different partition for > logs. > > gstat tells me that slice ad0s1h (my /var) is 100% frequently, and in > fact with fstat I can see a number of httpd proccesses running > accesing that. But fstat only shows me inodes and the mount point. > > I need to know which files the proccesses are acessing. > > How? Just in case you didn't get enough responses.... Here's a *great* article: http://www.onlamp.com/pub/a/bsd/2002/09/26/Big_Scary_Daemons.html?page=1 > > Thank you. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Regards, Eric