Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2006 14:33:43 -0700
From:      "pete wright" <nomadlogic@gmail.com>
To:        "Eduardo Meyer" <dudu.meyer@gmail.com>
Cc:        stable@freebsd.org
Subject:   Re: How can I know which files a proccess is accessing?
Message-ID:  <57d710000606061433o66eb2663tec43d8f39e99a46c@mail.gmail.com>
In-Reply-To: <57d710000606061432q650b29b0o92465196cfa30dea@mail.gmail.com>
References:  <d3ea75b30606061339u55efbecemab0d3d0eb9adb636@mail.gmail.com> <57d710000606061432q650b29b0o92465196cfa30dea@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/6/06, pete wright <nomadlogic@gmail.com> wrote:
> On 6/6/06, Eduardo Meyer <dudu.meyer@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57d710000606061433o66eb2663tec43d8f39e99a46c>