* Tommaso Cucinotta <[email protected]> [2010-08-06 02:58:35]:

> Hello,
> 
> does anyone know whether it is possible to define a custom 
> per-(cgroup-)directory release_agent file ?
> The notify_on_release seems customisable on a per-directory basis, so 
> why the release_agent would not ?

Yes, the release_agent is common, one way to customize it would be to
run something that could have the intelligence to figure out what
to do per directory, the cgroup path is passed to the release_agent.

>From section 1.4 of cgroups.txt

the kernel runs the command specified by the contents
of the "release_agent" file in that hierarchy's root directory,
supplying the pathname (relative to the mount point of the cgroup
file system) of the abandoned cgroup


-- 
        Three Cheers,
        Balbir

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to