Basic Condor Commands

Condor basic commands, sort of like a cheat sheet, taken from:
http://panmental.de/public/programming_projects/HowTos/condor/commands.html

Checking the status

  • condor_status shows all machine in the cluster and whether they run jobs, should contain yours as well.
  • condor_status -server shows memory and computing power of the cluster.
  • condor_status -java shows the Java version available on each machine in the cluster.
  • condor_userprio -all shows the current priority status of all active users. This will change with the amount of jobs you
    submit, so that in the longrun every user gets a fair share of the available computing power.
  • condor_userprio -allusers -all as above, but also shows data about users not currently active.

Checking your submitted jobs

  • condor_q shows your job queue plus job status (R: running, I: inactive, X: marked for removal)
  • condor_q -global as above, but shows all queued jobs
  • condor_q -run shows only your running jobs
  • condor_q -run -global as above but all running jobs
  • condor_prio -p $prio $JOB_NUM job $JOB_NUM gets priority $prio assigned, with prio ranging from -20 (least important) to +20; however only priority among your jobs is changed, other resources are not affected.
  • condor_rm $JOB_NUM removes the job $JOB_NUM from your queue, whether running or idle
  • condor_rm -forcex $JOB_NUM immediately kills the job