wiki:TorqueUsage/Functions/Pbs_manager

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

--

PBS_MANAGER

Issue a batch request to perform administration functions at a server. With this request server objects such as queues can be created and deleted, and have their attributes set and unset.

 result = pbs.pbs_manager(c, command, object_type, object_name, attropl, externd)

c::

Connection id

command::

specifies the operation to be performed:

  • pbs.MGR_CMD_CREATE
  • pbs.MGR_CMD_DELETE
  • pbs.MGR_CMD_SET
  • pbs.MGR_CMD_UNSET

object_type::

declares the type of object upon which the command operates:

  • pbs.MGR_OBJ_SERVER
  • pbs.MGR_OBJ_QUEUE

object_name::

the name of the specific object

attropl::