(Click to open topic with navigation)
(delete job)
5.715.53 Synopsis
qdel [{-a <asynchronous delete>|-b <secs>|-m <message>|-p <purge>|-t <array_range>|-W <delay>}]
<JOBID>[ <JOBID>]... | 'all' | 'ALL'
5.715.54 Description
The qdel command deletes jobs in the order in which their job identifiers are presented to the command. A job is deleted by sending a Delete Job batch request to the batch server that owns the job. A job that has been deleted is no longer subject to management by batch services.
A batch job may be deleted by its owner, the batch operator, or the batch administrator.
A batch job being deleted by a server will be sent a SIGTERM signal following by a SIGKILL signal. The time delay between the two signals is an attribute of the execution queue from which the job was run (set table by the administrator). This delay may be overridden by the -W option.
See the PBS ERS section 3.1.3.3, "Delete Job Request", for more information.
5.715.55 Options
5.715.56 Operands
The qdel command accepts one or more job_identifier operands of the form:
sequence_number[.server_name][@server]
or
all
5.715.57 Examples
# Delete a job array $ qdel 1234[]
# Delete one job from an array
$ qdel 1234[1]
# Delete all jobs, including job arrays $ qdel all
# Delete selected jobs from an array
$ qdel -t 2-4,6,8-10 64[]
There is not an option that allows you to delete all job arrays without deleting jobs.
5.715.58 Standard error
The qdel command will write a diagnostic messages to standard error for each error occurrence.
5.715.59 Exit status
Upon successful processing of all the operands presented to the qdel command, the exit status will be a value of zero.
If the qdel command fails to process any operand, the command exits with a value greater than zero.
Related Topics
Non-Adaptive Computing topics