Htc cheat sheet: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
=== Get a list of jobs and where they are running ===
=== Get a list of jobs and where they are running ===
condor_q -run
condor_q -run
=== Get the list of jobs on a given worker ===
List of jobs on node19-7.wn.iihe.ac.be:
condor_q -constraint 'regexp(".*@node19-7.wn.iihe.ac.be", RemoteHost)'


=== View details about a job ===
=== View details about a job ===

Revision as of 10:44, 25 August 2020

List of online workernodes

condor_status --server

To put an node offline

condor_drain <name_of_workernode>

Add the "-condor" option to stop the draining.

Get a list of jobs and where they are running

condor_q -run

Get the list of jobs on a given worker

List of jobs on node19-7.wn.iihe.ac.be: condor_q -constraint 'regexp(".*@node19-7.wn.iihe.ac.be", RemoteHost)'

View details about a job

condor_q -l <jobid>

Why a job is on hold?

condor_q -hold -af HoldReason <jobid>

Why a job stays in idle status?

condor_q -better-analyze <jobid>