使用qdel一次删除我的所有作业,而不是一次删除 [英] Use qdel to delete all my jobs at once, not one at a time
本文介绍了使用qdel一次删除我的所有作业,而不是一次删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是一个非常简单的问题,但我找不到答案。
This is a rather simple question but I haven't been able to find an answer.
我在群集中运行了大量作业(> 20 ),我想全部删除并重新开始。
I have a large number of jobs running in a cluster (>20) and I'd like to delete them all and start over.
根据此站点,我应该可以这样做:
According to this site I should be able to just do:
qdel -u netid
将其全部清除,但在我的情况下返回:
to get rid of them all, but in my case that returns:
qdel: invalid option -- 'u'
usage: qdel [{ -a | -c | -p | -t | -W delay | -m message}] [<JOBID>[<JOBID>]|'all'|'ALL']...
-a -c, -m, -p, -t, and -W are mutually exclusive
显然表明该命令不起作用。
which obviously indicates that the command does not work.
只是检查一下,我做了:
Just to check, I did:
qstat -u <username>
我确实得到了我所有工作的清单,但是:
and I do get a list of all my jobs, but:
qdel -u <username>
也会失败。
推荐答案
找到了隐藏在 old supercluster.org中的答案线程:
qselect -u <username> | xargs qdel
工作无瑕。
这篇关于使用qdel一次删除我的所有作业,而不是一次删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文