batch ?

batch ?

Post by Holger Teuts » Fri, 29 Apr 1994 02:05:57



The `at' man page says about batch:

   jobs  queued  with  batch will execute when system load level permits

File `/etc/cron.d/queuedefs' reads as

a.4j1n
b.2j2n90w

Does anyone know how the `system load level' is encoded in these lines?

- holger
--
-------------------------------------------------------------------------------


65812 Bad Soden / Germany                    Currently having fun 8-)

 
 
 

batch ?

Post by Hugh McInty » Fri, 29 Apr 1994 21:15:49


|>
|> The `at' man page says about batch:
|>
|>    jobs  queued  with  batch will execute when system load level permits
|>
|> File `/etc/cron.d/queuedefs' reads as
|>
|> a.4j1n
|> b.2j2n90w
|>
|> Does anyone know how the `system load level' is encoded in these lines?

You could have typed "man queuedefs" which would have explained the
format of this file to you.  In this case:

     This file specifies that the a queue, for at jobs, can  have
     up  to 4 jobs running simultaneously; those jobs will be run
     with a nice value of 1.  As no nwait value was given,  if  a
     job  cannot  be  run because too many other jobs are running
     cron will wait 60 seconds before trying  again  to  run  it.

     The  b  queue, for batch jobs, can have up to 2 jobs running
     simultaneously; those jobs will be run with a nice value  of
     2.   If  a job cannot be run because too many other jobs are
     running, cron will wait 90 seconds before  trying  again  to
     run  it.

Anyway, I think it only goes on the number of jobs running in the specific
queue (i.e. 2 for batch), not the overall system load.

Hugh.