I have submitted a lot of jobs to qsub
and I want to cancel all those not currently running. Is there a way to do this without knowing all the jobIDs?
The answer in this question prompted me to try
qselect -u username -s qw | xargs qdel
but this did not work, and I do not want to accidentally delete my currently running jobs.