Re: see what files are touched by a program
On Sun, 17 Oct 2010 21:57:36 +0200
Steven <email@example.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.
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.
Time flies like an arrow. Fruit flies like a banana.
If anything can go wrong it wSegmentation fault