qdel(1B)
π qdel(1B) β delete pbs batch job β¨
okay so you're in the qdel(1B) club now, bestie β this is the PBS page, and it's literally your delete button for batch jobs. welcome π«Ά
qdel [-a] [-c] [-m message] [-p] [-t array_range] [-W delay] [-b secs]
job_identifier...
πΈ NAME πΈ
qdel β delete pbs batch job. that's it, that's the whole vibe. poof, gone π¨
β¨ SYNOPSIS β¨
qdel [-a] [-c] [-m message] [-p] [-t array_range] [-W delay] [-b secs]
job_identifier...
π DESCRIPTION π
so the way qdel works: it deletes jobs in the order you hand it their job identifiers. no shuffling, no reordering β first come, first deleted, periodt. a job gets deleted by sending a Delete Job batch request to the batch server that owns the job. and once a job has been deleted? it is no longer subject to management by batch services. like it's moved out, changed its number, blocked you. π
so who's allowed to delete a batch job? your options are: its owner, the batch operator, or the batch administrator. that's the guest list, no plus-ones π
and here's the part you actually need to know: when a server deletes a batch job, the job gets sent a SIGTERM signal, followed by a SIGKILL signal. the time delay between those two signals is an attribute of the execution queue the job was run from β and yeah, the administrator can set that. but you can override that delay with the -W option. main character move honestly π
if you want the deep lore, see the PBS ERS section 3.1.3.3, "Delete Job Request". iykyk π
π OPTIONS π
-W delayβ sets the delay between sending theSIGTERMand theSIGKILLsignals.delayis an unsigned integer number of seconds. no negatives, bestie, it's unsigned for a reason β±οΈ-aβ delete the job(s) asynchronously. and for a Running job that means the reply comes back before the MOM is even asked to delete the job. lowkey impatient, we respect it πββοΈ-b secondsβ how many seconds maxqsubwill block while trying to contactpbs_server. and okay yes the page saysqsub, that's not a typo on my end, that's literally what the original says π so: ifpbs_serveris down, or for a variety of communication failures,qsubwill continually retry connecting topbs_serverfor job submission. this value overrides theCLIENTRETRYparameter intorque.cfg. heads up: this is a non-portable TORQUE extension β portability-minded users can use thePBS_CLIENTRETRYenvironmental variable instead. a negative value gets interpreted as infinity. and the default is0. π«Ά-cβ clean up unreported jobs from the server. β οΈ this should only be used if the scheduler is unable to purge unreported jobs. and ngl, it's gatekept: this option is only available to a batch operator or the batch administrator π-pβ forcibly purge the job from the server. β οΈ again, this should only be used if a running job won't exit because its allocated nodes are unreachable. the admin should make every attempt at resolving the problem on the nodes first, fr fr. and important: if a job's mother superior recovers after purging the job, any epilogue scripts may still run. π this option is only available to a batch operator or the batch administrator too π-m messageβ specify a comment to be included in the email.messageis the comment you send. and yep, gatekept again: this option is only available to a batch operator or the batch administrator βοΈ-t array_rangeβarray_rangeis an integer id or a range of integers. you can combine multiple ids or id ranges in a comma delimted list β examples:-t 1-100or-t 1,10,50-100. the command acts on the array (or the specified range of the array) just as it would on an individual job. slay π
π¦ OPERANDS π¦
qdel accepts one or more job_identifier operands of the form:
sequence_number[.server_name][@server]
or
'all'
yes, 'all' is a real operand and yes it's quoted in the original, so keep those quotes, bestie π
β STANDARD ERROR β
qdel will write a diagnostic messages to standard error for each error occurrence. (that grammar is the original's, not mine β i'm just the messenger π)
π EXIT STATUS π
- upon successful processing of all the operands presented to the
qdelcommand, the exit status will be a value of zero. we love a clean0π - if
qdelfails to process any operand, the command exits with a value greater than zero. not the vibe, but at least it tells you π
π SEE ALSO π
qsub(1B), qsig(1B), and pbs_deljob(3B) β go read those next, bestie, they're all in the friend group π«Ά
okay that's the whole page!! mwah π this one's from Local, and it's the qdel(1B) page β go forth and delete responsibly, icon πβ¨π₯
π¦ where this page comes from
- epel 9: torque-client 6.1.3-8.el9 Β· OpenPBS and TORQUEv1.1
- Copyright (c) 1999-2000 Veridian Information Solutions, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms