Primal Cortex’s Weblog

Amnesia sets in…

Archive for September, 2008

FileMon for Linux (sort of…)

Posted by primalcortex on September 5, 2008

In Windows, Sysinternals (now Microsoft) allows to check if a process access a file and if it has trouble accessing it like lack of permissions, and even if something is missing….

For Linux, an alternative is to execute the strace program:

strace -fo outputfile command&

tail -f outputfile

In real time the process activity can be seen. Because the output is in the outputfile you can after the process termination process it with tools like grep, cut and so on.

The only thing missing is a GUI for the commands…

Posted in Linux | Tagged: , | Leave a Comment »