Htc cheat sheet: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
condor_drain <name_of_workernode>
condor_drain <name_of_workernode>


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


=== Get a list of jobs and where they are running ===
=== Get a list of jobs and where they are running ===

Revision as of 13:45, 25 August 2020

List of online workernodes

condor_status --server

To put a node in draining

condor_drain <name_of_workernode>

Add the "-cancel" 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>

Get info on a finished job

condor_history [-long] <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>