Re: inotify and /proc/<pid>

From: Andrew Morton
Date: Tue Jul 31 2007 - 20:42:20 EST


On Tue, 31 Jul 2007 20:31:49 +0200 Diego Calleja <diegocg@xxxxxxxxx> wrote:

> El Mon, 30 Jul 2007 22:25:21 -0500, Joseph Pingenot <trelane@xxxxxxxxxxxxxx> escribió:
>
> > More background, please?
> >
> > What's the way to check for a process exiting without spinning?
>
>
> I don't know if it's useful for you, but CONFIG_CONNECTOR and CONFIG_PROC_EVENTS
> will report process creation/exit/fork/etc through a netlink interface.

yup. See example code in Documentation/accounting/getdelays.c
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/