Re: inotify and /proc/<pid>
From: Chris Friesen
Date: Tue Jul 31 2007 - 01:49:19 EST
Joseph Pingenot wrote:
While we're on the subject, is there some way to receive notification
that some aspect of a process changes (in this case, stopping using
CPU, but not exiting).
For some internal stuff a while back I did a patch that allows any
process to register for status change notifications. Basically, the
registered process gets put on a list and gets the same notifications
(killed/stopped/exited, etc.) as the real parent.
Useful for this type of thing.
Chris
-
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/