|#define SHUT_IMMEDIATE 0||Shutdown is to be immediate, runnings jobs are checkpointed, requeued, or deleted as required.|
|#define SHUT_DELAY 1||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.|
The server will not respond to the batch request until the server has completed its termination procedure.
is reserved for implementation defined extensions.
It is not
currently used by this function.
This call requires PBS Operator or Manager privilege.
When the batch request generated by pbs_terminate() function has been completed successfully by a batch server, the routine will return 0 (zero). Otherwise, a non zero error is returned. The error number is also set in pbs_errno.