On Sun, 2010-10-17 at 21:54 +0200, Davide Mancusi wrote: > On Sun, 17 Oct 2010 21:57:36 +0200 > Steven <redalert.comman...@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. >
Thanks, this looks like it might work, unfortunately it's not as easy. My problem is that the program is being launched by another program, which I start manually, so I don't know it's PID yet, when I do, the program might already be terminated, or it might still be running (who knows?). Any other way I can get this information? Thanks to your tip, I looked up the man page for lsof, and I'll try it with the -c option, and hope I get it at the right moment. Kind regards, Steven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1287347625.2275.16.ca...@pc-steven.lan