How can I know which files a proccess is accessing?
Johan Karlsson
johan at freebsd.org
Tue Jun 6 21:32:20 UTC 2006
Hi
On Tue, Jun 06, 2006 at 17:39 (-0300), 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?
Try with lsof from ports.
/Johan K
>
> Thank you.
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
--
Johan Karlsson mailto:johan at FreeBSD.org
More information about the freebsd-stable
mailing list