Icon

This is the documentation for an older version of Qube. The latest version of the documentation can be found here: Qube

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Operand (resource)

Values

host.processors.[ used | avail | total ]

Number of processors available on the worker

host.memory.[ used | avail | total ]

Memory in Mb available on the worker

host.swap.[ used | avail | total ]

Swap space available in Mb on the worker

Example

Here is an example of a job requirement that uses a host resource expression:

...

More advanced uses of the requirements expression have allowed many Qube users to route a job to a specific host and also conversely restrict a job from a host.

Common Uses:

Run my job only on linux hosts:

...

(see How to restrict a host to only one instance of a given kind of job, but still allow other jobs)