[GE users] How to use SGE commands inside a script?

Rayson Ho rayrayson at gmail.com
Mon Jan 30 19:34:40 GMT 2006

    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Please start a new thread instead of using reply to start one... or
else the "browse by thread" feature on the project homepage will mix
this new thread with the original thread...

Load sensors are not parsed by the SGE daemons, so if you want to do
"qmod -d <queue>" in the script, just make sure that the host is an
admin host.

(I think the environment variables such as SGE_ROOT and PATH should be
available inside the load sensor, but you can easily check that
yourself with debug "echo"s)


On 1/30/06, Goncalo Borges <goncalo at lip.pt> wrote:
> Hello everybody,
> I have seen that you can give options to the "qsub" command inside a bash
> script (Ex: #$ -s /bin/sh").
> I'm trying to implement a load sensor which disables a queue instance when
> the jobs in that queue are consuming a lot of virtual memory. Is it
> possible to perform a "qmod -d <queue>" inside the load sensor bash
> script? Does it needed some kind of special syntax, as in the qsub
> command?
> Thanks in advance
> Goncalo

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list