Louhi User's Guide, the 2nd Edition > Batch jobs and the batch system > Commands > Deleting jobs: qdel
Tehdyt toimenpiteet

Deleting jobs: qdel

Here is an example how to delete a batch job:

ruusvuor/tahko> qsub -h job.sh 
3222.nid00003
ruusvuor/tahko> qstat -a 3222
nid00003: 
                                           Time In Req'd  Req'd   Elap
Job ID Username Queue    Jobname    SessID  Queue  Nodes  Time  S Time
------ -------- -------- ---------- ------ ------- ------ ----- - -----
3222   ruusvuor workq    program1      --   000:00      2 00:01 H   --
ruusvuor/tahko> qdel 3222
ruusvuor/tahko> qstat -a 3222
qstat: Unknown Job Id 3222.nid00003
ruusvuor/tahko>

In this example, a job in the hold state was deleted. A queued job waiting for execution and a running job can be deleted in the same way.