How can I know which files a proccess is accessing?

Stephen D. Spencer gladiatr72 at gmail.com
Tue Jun 6 21:39:35 UTC 2006


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.
>
> [...]




check out ./ports/sysutils/lsof.  An excellent little util that has become a
standard on all of my *NIXish installs.  It'll tell you all you ever wanted
to know (and more) about which pieces of your OS are touching what.

-- 
Stephen Spencer
Lawrence, KS

"If God dropped acid, would he see people?"


More information about the freebsd-stable mailing list