How can I know which files a proccess is accessing?
nomadlogic at gmail.com
Tue Jun 6 21:35:19 UTC 2006
On 6/6/06, pete wright <nomadlogic at gmail.com> wrote:
> On 6/6/06, Eduardo Meyer <dudu.meyer at 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
NYC's *BSD User Group
More information about the freebsd-stable