Reputation: 33
I'm writing a daemon, monitoring user activity on Linux. Is there any way to detect opening arbitrary file by arbitrary process? Preferred language is Python/C/C++
Upvotes: 3
Views: 95
Reputation: 134631
Linux has group of inotify
system calls.
There is a Python wrapper for these called pyinotify.
Upvotes: 1