[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: see what files are touched by a program



On Sun, 17 Oct 2010 21:57:36 +0200
Steven <redalert.commander@gmail.com> wrote:

> Hi list,
> 
> Can anyone point me to a program that will let me know what files a
> certain application touches? More importantly, writes to.
> Something like "filestouched vi filename" which would then report
> 'filename' as being used.

	Try
lsof -p process_id
You should be able to access the same info from the /proc interface,
too. I don't know where (if?) it is in /sys.

Davide

-- 
Time flies like an arrow.  Fruit flies like a banana.
--
If anything can go wrong it wSegmentation fault
core dumped


Reply to: