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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Look at netlink sockets.

On 9 Jul 2015 5:08 pm, "Nikolay Borisov" <n.borisov.lkml@xxxxxxxxx> wrote:


On 07/09/2015 09:39 AM, Ramon Fried wrote:
> 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.

If your process is abruptly killed then there is no way for the process
to tell you that (it's dead after all). Just implement a simple time-out
mechanism in the spirit of ping.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux