lkml.org 
[lkml]   [2007]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-31 07:51    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site