выберите пакетные задания (select batch jobs)
Примеры (Examples)
The following example shows how a user might use the qselect
utility in conjunction with the qdel utility to delete all of his
or her jobs in the queued state without affecting any jobs that
are already running:
qdel $(qselect -s q)
or:
qselect -s q || xargs qdel