wiki:TorqueUsage/Functions/Pbs_statjob

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

--

PBS_STATJOB

Get job information from batch system:

jobs = pbs.pbs_statjob(c, id, attrl, extend)

In

c::

Connection id

id::

job_id or a empty string. If job_id is specified, the status of the job with job_id at the server will be returned. If the id is an empty string, the status of all jobs at the server will be returned.

attrl::

If attrl list is given, then only the attributes in the list are returned by the server. Otherwise all the attributes of a job are returned. All parameters then specify attrl = "NULL"

extend::

The parameter, extend, is reserved for implementation defined extensions. For now extend="NULL"

Out

jobs::

Job info