[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grid-engine-dev
Subject:    Re: [GE dev] number of jobs in queue/host
From:       Andreas Haas <Andreas.Haas () Sun ! COM>
Date:       2003-06-30 9:26:23
Message-ID: Pine.GSO.4.56.0306301125460.27150 () sr-ergb01-01
[Download RAW message or body]

Just figuring out the number of used/free slots one does
not need to investigate the job list. The code in
clients/common/qstat_printing.c (below comment "number
of used/free slots") shows how it can be done. Similar
code (use EH_consumable_actual_list instead of
QU_consumable_actual_list) works for hosts as well -
assumed slots are limited at a particular host.

Regards,
Andreas

On Thu, 26 Jun 2003, Tien-Duc Nguyen wrote:

> Hello all,
>
> Is there a way through GDI to get the number of running jobs on a given
> queue and host?
>
> Thanks for any ideas,
>
> tien duc
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@gridengine.sunsource.net
> For additional commands, e-mail: dev-help@gridengine.sunsource.net
>
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic