LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

qdel

Delete jobs from batch queue systems

TLDR

Delete job
$ qdel [job_id]
copy
Delete multiple jobs
$ qdel [job_id1] [job_id2] [job_id3]
copy
Delete all user's jobs
$ qdel -u [username]
copy
Force delete
$ qdel -f [job_id]
copy
Delete job array
$ qdel [job_id][]
copy

SYNOPSIS

qdel [options] jobids_...

DESCRIPTION

qdel deletes jobs from the batch job queue. It's part of PBS/Torque, SGE, or similar job scheduling systems used on HPC clusters.

PARAMETERS

-f, --force

Force deletion.
-u user
Delete all jobs for user.
-W time
Delay deletion.
-p
Purge job (remove all traces).

EXAMPLES

$ # Delete single job
qdel 12345

# Delete multiple jobs
qdel 12345 12346 12347

# Delete range
qdel 12345-12350

# Force kill
qdel -f 12345

# Delete all my jobs
qdel -u $(whoami)

# Delete array job
qdel 12345[]

# Delete specific array task
qdel 12345[5]
copy

JOB STATES

Jobs can be deleted in these states:- Queued (Q)- Running (R)- Held (H)

INSTALL

sudo apt install gridengine-client
copy

CAVEATS

Syntax varies between PBS, SGE, SLURM. Running jobs may take time to terminate. Admin may restrict deletion.

HISTORY

qdel is part of the PBS (Portable Batch System) originally developed at NASA Ames Research Center.

SEE ALSO

qsub(1), qstat(1), scancel(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid