From owner-freebsd-stable@FreeBSD.ORG Tue Jun 6 21:35:13 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 8B68F16CE81 for ; Tue, 6 Jun 2006 21:33:44 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F9C343D49 for ; Tue, 6 Jun 2006 21:33:43 +0000 (GMT) (envelope-from nomadlogic@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so19256wxd for ; Tue, 06 Jun 2006 14:33:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=prTj4s36Yg/IVmHnLvVKv6F/6ojh+U4fsIxxyRI/O3a11JBFW6C3RVc2FVmjeP3zHOM/8+9HA8+IBJWCehBP7KnskkrCLJFAf00NbIjWX03CAxXV2HQ5XHZ0RCt62at/cVt/M8AYVkerzx+hOFsOX/KxZ5lt6J6dId/BymTdIeI= Received: by 10.70.128.9 with SMTP id a9mr32807wxd; Tue, 06 Jun 2006 14:33:43 -0700 (PDT) Received: by 10.70.83.15 with HTTP; Tue, 6 Jun 2006 14:33:43 -0700 (PDT) Message-ID: <57d710000606061433o66eb2663tec43d8f39e99a46c@mail.gmail.com> Date: Tue, 6 Jun 2006 14:33:43 -0700 From: "pete wright" To: "Eduardo Meyer" In-Reply-To: <57d710000606061432q650b29b0o92465196cfa30dea@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <57d710000606061432q650b29b0o92465196cfa30dea@mail.gmail.com> 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: Tue, 06 Jun 2006 21:35:19 -0000 On 6/6/06, pete wright wrote: > On 6/6/06, 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. > > > > if you can get fstat to help you may want to take a look at lfof, sorry that should be lsof -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group