[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46AECD48.1010701@nortel.com>
Date: Mon, 30 Jul 2007 23:48:56 -0600
From: "Chris Friesen" <cfriesen@...tel.com>
To: trelane@...itasaru.net
CC: Al Viro <viro@....linux.org.uk>, linux-kernel@...r.kernel.org
Subject: Re: inotify and /proc/<pid>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists