Re: [PATCH 4/7] Containers (V8): Simple CPU accounting container subsystem

2007-04-10 Thread Srivatsa Vaddagiri
On Fri, Apr 06, 2007 at 04:32:25PM -0700, [EMAIL PROTECTED] wrote: > +struct container_subsys cpuacct_subsys = { > + .name = "cpuacct", > + .create = cpuacct_create, > + .destroy = cpuacct_destroy, > + .populate = cpuacct_populate, > + .subsys_id = cpuacct_subsys_id, > +}; cont

[PATCH 4/7] Containers (V8): Simple CPU accounting container subsystem

2007-04-06 Thread menage
This example demonstrates how to use the generic container subsystem for a simple resource tracker that counts, for the processes in a container, the total CPU time used and the %CPU used in the last complete 10 second interval. Portions contributed by Balbir Singh <[EMAIL PROTECTED]> Signed-off-