Last active
January 3, 2017 17:25
-
-
Save brockpalen/ffe8c48673f91d3170ee to your computer and use it in GitHub Desktop.
qselect-samples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#delete all my jobs, | |
# only do this if you have fewer than a few hundred jobs. | |
qdel $(qselect -u $USER) | |
#delete all my queued jobs | |
qdel $(qselect -u $USER -s Q) | |
#delete all my jobs submiting with the wrong account | |
qdel $(qselect -u $USER -A wrongaccount) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#hold all my queued jobs in account_flux | |
qhold $(qselect -A account_flux -u $USER -s Q) | |
#release the holds so they can now run | |
qrls $(qselect -A account_flux -u $USER -s H) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#all jobs for a user|s | |
qselect -u user | |
qselect -u user1,user2 | |
#all jobs owned by me in a given PBS account | |
qselect -u $USER -A account_flux | |
#all jobs in state Q | |
# options E: exiting H: held Q: queued R: Running T:trasiting W: Waiting | |
qselect -s Q | |
#all jobs Queued and Held | |
qselect -s QH | |
#all jobs with walltimes under 24 hours | |
qselect -l walltime.lt.24:00:00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment