Re: Proposal for Enhanced Accounting HOWTO

Jan-Frode Myklebust <[email protected]> Fri, 3 Sep 2004 16:12:40 +0200
Newsgroups gmane.linux.comprehensive-system-accounting,gmane.linux.lse
Message-ID <[email protected]>
On Fri, Sep 03, 2004 at 03:30:48PM +0200, Guillaume Thouvenin wrote:
>                        Enhanced Accounting HOWTO
> 		       =========================
> 
>   Here is an example of what can be done:
> 
>   1) First we can add processes into containers using the GPM (group of 
>      processes manager) module. For example we can add an ftp server with 
>      pid #123 and a daemon ssh with pid #234. Thus, inside the GPM you have:
>          container 1 -> 123
> 	 container 2 -> 234
> 
>   2) Now, a user can login via ssh, so, sshd will create new children. Thus, 
>      inside the GPM you will have something like:
>          container 1 -> 123
> 	 container 2 -> 234 333 334 335

Can/will this support project based accounting ? 

i.e. Users being member of several projects. Each project having
multiple users as members. And the user is allowed to decide which
project-id each container is going to run under / be accounted to ?


  -jf