-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

e
On 22/08/13 09:12, Jean-Baptiste Denis wrote:
> Hello everybody,
> 
> I'm using OGS/GE 2011.11p1 on Linux and I want to play with
> cgroups.
> 
> My idea was simply to dynamically create a cgroup on an execution
> node per JOBID using a prolog (and cgcreate or simple shell
> command), but I also need to run the provided user command with
> cgexec. Is there a way to alter the command within the prolog ?
> 
You could just add a starter_method to your queue configuration.  This
gets run instead of your command and passed enough info to recreate
the command that would have been run.  We do something similar with
cpusets rather than cgroups.

William


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBAgAGBQJSFxzTAAoJEKCzH4joEjNW/AcP/1YwfnrSwU8jjgRdsPVmAIVL
3qufBsej9FaxclJY6L/peUVJgahOBbJroGC0QVpgkMCVGRA2RqxYV40NN7S3nuE2
UCMNiWcI1Hwd2A8E0ZBx3BaI26gSDX9YcvDgd3w47MDmZo0urFzsuKqAS/ccJAlM
F0KU2VloaE7zcgfLfgiwOzwSC1vO4RTX32sODZhGcD6f1xYtH47dwkelE+82qx10
+r0jtUote41gRpsczpeqve+2G5HGZhLaE5fSRmraEhcYBDxa/+Vaq2zApN+SSnpc
roOrgfRgHnMDvys3mVsPwIBbaPnKwsGRTdRWQgfsPfa2PBuSwml9z/0Z/l7Ey6Ol
8TSzh3nTwmxWK2ZPa/pX0RYQChRzf6QGbERri3F/aXq+BGwtkhrISKQhHq3v253L
rNofUL61Gc2SkYjtQxVbGiq9pGrkgNYF9yWwA3/QUqZPJMv/A4y/Bb6HqCz7sRJW
/NuNV87wigIlKJ8endOPN+6Y/qlapDTVP3JU35pQBfDCh9vfuHMsINc0e4eqv1BL
hAAQLqMAUqBlbPhh1oLUt9rFBRHV6kXioyL+Kd8HpUMZJ7y7lwCEJXWva6GKLYvl
jk5TZn4RGmDVVTQYIc5sYR5ps7IJLEZa4Gq8IvK6J9wMwrG8g6U8YgSmw3F4ZvvW
jHqHnl2PkEzy/zoYmTeB
=Vq2w
-----END PGP SIGNATURE-----

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to