Document Actions
How can I kill all my jobs?
Up to Table of Contents
I want to get rid of all my jobs in a hurry.
Use a little shell trickery:
qselect -u $USER | xargs qdel
qselect prints out a job list based on specific criterions, xargs takes multi line input and run the command you give to it repeatedly until it has consumed the input list.
Delete all your running jobs:
qselect -u $USER -s R | xargs qdel
Delete all your queued jobs:
qselect -u $USER -s Q | xargs qdel
(xargs is your friend when you want to do the same thing to a lot of items.)

