HTCondor Cheat-Sheet

Here you can find some useful commands for HTCondor that can be run in the terminal. Note that some command options can be combined (eg. condor_q -nobatch -run)

Job submission

condor_submit <submit_file>

submit job specified by submit_file

condor_rm <job_id>

remove job(s) associated with job_id from the scheduler

condor_rm -all

remove all your jobs from the scheduler

condor_hold <job_id>

hold the job(s) associated with job_id

condor_release <job_id>

resumes the job(s) associated with job_id

Monitoring jobs

condor_q

lists your submitted jobs currently in the scheduler

condor_q -nobatch

lists your submitted jobs without batched view

condor_q -run

lists your running jobs

condor_q –better-analyze <job_ID>

analyse job_ID, helps explaining its current state

condor_q -l <job_ID>

lists all attributes of the job(s) associated with job_ID

condor_q -hold <job_ID>

displays hold reason for job(s) associated with job_ID

condor_history <user_ID>

list previous finished jobs

Pool status

condor_status

check status of all nodes

condor_status -compact

list execution_point slots in compact view

condor_status -avail

list execution_point slots not executing jobs