[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070503024048.e7192b3b.akpm@linux-foundation.org>
Date: Thu, 3 May 2007 02:40:48 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Glen Turner <gdt@....id.au>
Cc: Linux kernel <linux-kernel@...r.kernel.org>
Subject: Re: Detecting process death for anycast named process monitoring
On Thu, 03 May 2007 06:34:42 +0930 Glen Turner <gdt@....id.au> wrote:
> The question is, how can a process with no relationship to another
> process detect that process unexpectedly dying?
Monitor the system using the taskstats interface. There is a sample
application and documentation in Documentation/accounting/.
Your monitoring application will receive a netlink packet each time a process
exits. It includes the exit code and the process's name.
-
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