is there a way to register for processes state changes from userspace ?

Ramon Fried ramon.fried at tandemg.com
Thu Jul 9 02:39:20 EDT 2015


Hi.

I'm developing an application that needs to know if any of its clients (different processes) terminated or got killed by a signal.

Currently I'm implementing it by looking at the specific PID procfs directory.
Is there a better way to achieve that ? Something like netlink notifications for subscribed processes will be great...
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150709/6d957e36/attachment.html 


More information about the Kernelnewbies mailing list