Useful HTCondor commands

Condor has many commands that could be run on the command line. This section we will present the most common ones used in a production environment, which can be executed in a CMD shell. 

Pool Management


condor_store_cred add

Authenticate a new user to submit jobs to HTCondor on the Submitter

condor_restart
condor_restart -all

Restart the local HTCondor service resp. on all machines in the pool

condor_reconfig

Reconfigure local HTCondor service after changing condor_config or condor_config.local without restarting

Check status of pool


condor_status

Get status of all Nodes

condor_status -submitter

Get status of all Nodes summarized by active Submitter

condor_status -avail

See all the machine slots available and not taking jobs

condor_status -run -constraint "SlotID  == 1"

See all the machine currently running jobs

Managing submitted jobs


condor_q

Show all jobs for the current user

condor_q -global

Show all users' jobs in the queue

condor_q -nobatch

Get status of User's running / idle jobs

condor_q -nobatch -global

Get status of all Users running / idle jobs:

condor_q -analyze -long

To see why jobs are not running 

condor_rm  <job_id>
condor_rm -all

To remove the job from the condor queue

condor_release <job_id> 
condor_release -all

Release a specific held job in the queue.