'log and monitor files created
is there a program to log and monitor files created?
the purpose is that if i run <theProgramForLogging> foo/bar/baz.o i get some context of the file like the process/user that made it, like if i run make install to compile a program, it logs the installed files and marks them that they are file from x program when it was compiled
i had asked this in my previous question but this time the question is more general for logging not just for compiling and perhaps more automated, thanks
Solution 1:[1]
stat <filename>
Will give you some information about a file. If you run the file as a program, you can find the pid and what started it by
pstree
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | mhoberek |
