PBS_TERMINATE
Issue a batch request to shut down a batch server. This request requires the privilege level usually reserved for batch operators and administrators.
result = pbs.pbs_terminate(c, manner, extend)
In
c::
Connection id
manner::
specifies the manner in which the server is shut down:
- pbs.SHUT_IMMEDIATE
- Shutdown is to be immediate, runnings jobs are checkpointed, requeued, or deleted as required.
- pbs.SHUT_DELAY
- Jobs which can be checkpointed are checkpointed, terminated, and requeued. Jobs which cannot be checkpointed but are rerunnable are terminated and requeued. Shutdown is delayed until the remaining running jobs complete. No new jobs will be started by the server.
extend::
he parameter, extend, is reserved for implementation defined extensions. For now extend="NULL"
Out
result::
If non-zero then an error has occured.
Last modified 17 years ago
Last modified on 09/19/06 15:24:25