I want to write up a Program either in C / Python - Unix(Open SUSE) for the following:-
1) Report / alarm mechanism : wherin if some updatation has been done in particular folder, or anything else changed at OS level, then it would raise an alarm or a signal should be sent to already executing program and would then do accordingly.
I read signal() seems to be a solution to my problem, but how can i use this user-defined signal to solve my purpose. Please help. Some resources would be good.
Or if any other technique is available kindly let me know.
Thanks
2)point ?