Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2006 23:22:59 +0200
From:      Johan Karlsson <johan@freebsd.org>
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:  <20060606212259.GE28843@numeri.campus.ltu.se>
In-Reply-To: <d3ea75b30606061339u55efbecemab0d3d0eb9adb636@mail.gmail.com>
References:  <d3ea75b30606061339u55efbecemab0d3d0eb9adb636@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"

-- 
Johan Karlsson		mailto:johan@FreeBSD.org



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