Andy Pieters wrote:
lsof is the tool you need,
Those of you who have had the punishment of maintaining workstations
with m$ on it might have heard, or even used filemon (from
sysinternals). It hooks itself on the kernel and keeps an eye on what
application accesses what file.
Is anyone aware of such an utlity for Linux? No fancy gui needed,
plain old cli will suffice.
Basically what I want to do is launch the app, then run another program
and see what files are being opened by that program.
I use 'lsof' quite often, and it does the same thing, almost, as
filemon. It simply lists open files. I'm not sure if it is capable of
doing a continuous list, however - anyone else know?
Sorry if this email wasn't completely helpful, but it will at least
give you a starting point.
you can also do
and get a list of all files/sockets opened by this process.