[GE users] AW: [GE dev] Load sensor scripts

Olesen, Mark Mark.Olesen at arvinmeritor.com
Tue Aug 17 10:23:29 BST 2004

    [ 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. ]

>    When we add load sensor scripts to the global
> cluster configuration and create a complex attribute
> for it as well, How can we retrieve the value of this
> attribute? Moreover when the script is added to the
> global cluster configuration where will the script be
> run? WIll it be on the sge_master machine? or can the
> sge_master instruct all the sge_execs to run the
> script and use the data returned by them to generate
> the final effective load value?

I've redirected the response to the USERS mailing lists, since the question
is not really a development issue.

The load sensor in the global configuration is run by *all* execd's.
If you wish to run the load sensor on the qmaster, you need to install a
queue instance on the qmaster machine. You could, for example, have a queue
instance with zero slots on the qmaster.  This would ensure that no jobs run
on the qmaster, but a loadsensor will.

How the values are reported is documented in sge_exed(8).

Within the loadsensor, you can differentiate between qmaster and normal
execd with something like the following:

   if [ "$UQHOST" = "$qmaster" ]; then

You can query the return values via 'qstat -F' ... provided, of course, that
you have defined the complexes!


Dr. Mark Olesen
Thermofluid Dynamics Analyst
ArvinMeritor Light Vehicle Systems
Zeuna Staerker GmbH & Co. KG
Biberbachstr. 9
D-86154 Augsburg, GERMANY
tel: +49 (821) 4103 - 862
fax: +49 (821) 4103 - 7862
Mark.Olesen at ArvinMeritor.com

> -----Ursprüngliche Nachricht-----
> Von: Dev [mailto:dev_hyd2001 at yahoo.com]
> Gesendet: Dienstag, 17. August 2004 09:33
> An: dev at gridengine.sunsource.net
> Betreff: [GE dev] Load sensor scripts
> cheers,
> Dev
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: dev-help at gridengine.sunsource.net?

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