2.3.2. Job managements¶
2.3.2.1. Monitor your jobs¶
In HTCondor, you can use
condor_q
to see the status of your job.
You can also watch them, like so
watch -n 15 condor_q
where 15 is the number of seconds you want the command to be repeated, i.e. you are monitoring the status once every 15s.
There is also a command from HTCondor which do the watching automatically:
condor_watch_q
Both approach has their pros and cons and you are welcome to try which one suits your purpose better.
2.3.2.2. Killing your jobs¶
After you submitted a job, you obtained a job id.
You can also retrieve this job id from the condor_q
command above.
You can kill this job by using,
condor_rm $ID
# such as...
condor_rm 1983
Or you can also kill all jobs that is still in the queue created by you:
condor_rm $USER
Warning
This is destructive! All your submitted jobs will disappear and there’s no way to bring them back except by resubmitting all of them again.