LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Kernel event notification (https://www.linuxquestions.org/questions/programming-9/kernel-event-notification-934432/)

Rahil Parikh 03-14-2012 11:00 AM

Kernel event notification
 
Hello,

I want to write a program that will be notified by kernel ( or something similar ) for system events. Like, someone opens a file ABC then my program should get notification about that change.

Is it possible? If so, how?

Thanks for help! :)

firstfire 03-14-2012 12:04 PM

Hi.

You probably looking for inotify.

Rahil Parikh 03-14-2012 12:13 PM

@firstfire - Thanks for help! It looks like it will work only for filesystems. Or can it work for anything else? ( May be like, someone started new process?! )


All times are GMT -5. The time now is 09:52 AM.