Htc cheat sheet: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
condor_status --server
condor_status --server


=== To put an node offline ===
=== To put a node in draining ===
condor_drain <name_of_workernode>
condor_drain <name_of_workernode>



Revision as of 12:32, 25 August 2020

List of online workernodes

condor_status --server

To put a node in draining

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>