Re: process creation/deletions hooks

From: Nathan Straz (nstraz@sgi.com)
Date: Thu Mar 27 2003 - 16:31:31 EST


On Thu, Mar 27, 2003 at 04:08:10PM -0500, Shaya Potter wrote:
> We are trying to write a module that does it's own accounting of
> processes as they are created and deleted. We have an extremely ugly
> hack of taking care of process creation (wrap fork() and clone() in a
> syscall wrapper, as that's the only way processes can be created).

You might want to look at the PAGG patch. SGI did something like this
to implement CSA, an accounting package. Here are some links that might
interest you:

Linux PAGG home page:
http://oss.sgi.com/projects/pagg/

Design Doc:
http://oss.sgi.com/projects/pagg/pagg-lkd.txt

-- 
Nate Straz                                              nstraz@sgi.com
sgi, inc                                           http://www.sgi.com/
Linux Test Project                                  http://ltp.sf.net/
-
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/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:29 EST