Use qdel to delete all my jobs at once, not one at a time

前端 未结 9 1596
悲哀的现实
悲哀的现实 2020-12-22 18:42

This is a rather simple question but I haven\'t been able to find an answer.

I have a large number of jobs running in a cluster (>20) and I\'d like to delete them al

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-22 19:31

    Building on what Gabriel answered:

    qselect -u  | xargs qdel
    
    qselect -u  -s  | xargs qdel
    

    would be R for running jobs only.

    qselect will allow you to select job based on other criterias, like ressources asked (-l), destination queue (-q) ...

    qdel -u 
    

    will only work with SGE

提交回复
热议问题