wiki:TorqueUsage/Functions/Pbs_rescquery

Version 3 (modified by bas, 18 years ago) (diff)

--

PBS_RESCQUERY

Issue a request to the batch server to query the availability of resources;

result, available, allocated, reserved, down = pbs_rescquery(c, resources, size)

In

c::

Connection id

resources::

Resources is a list of one or more strings specifying the resources to be queried. At the present time the only resources which may be specified is "nodes". It may be specified as:

  1. 'nodes'
  2. 'nodes='
  3. 'nodes=specification'

size::

Is the is the number of strings in resources, eg: len(resources)

Out