Difference between revisions of "How to Monitor Jobs"

From Statistics Cluster
Jump to navigation Jump to search
Line 1: Line 1:
== How to Monitor Jobs ==
+
== Check the state of the job ==
 
+
=== Check the jobs of a specific user ===
 
Once jobs have been submitted to the cluster, monitoring can be performed using the following command in a terminal
 
Once jobs have been submitted to the cluster, monitoring can be performed using the following command in a terminal
  
Line 20: Line 20:
 
This is useful to monitor your own jobs to check on their status.
 
This is useful to monitor your own jobs to check on their status.
  
 +
=== Check all jobs ===
 +
If you want to see all of the jobs in the queue
 +
 +
<pre>
 +
condor_q | less
 +
</pre>
 +
 +
== Check which machine the job is running on ==
 
Another useful command is <i>condor_status</i> which can tell you information about the cluster machines
 
Another useful command is <i>condor_status</i> which can tell you information about the cluster machines
 
<pre>
 
<pre>

Revision as of 15:38, 3 November 2016

Check the state of the job

Check the jobs of a specific user

Once jobs have been submitted to the cluster, monitoring can be performed using the following command in a terminal

[username@computer ~]$ condor_q -submitter <username>| less
CondorMonitoring.png

This will display

  • the process ID
  • the owner of the job
  • the date and time it was submitted
  • how long it has been running
  • its current status (run, held, idle)
  • the job size
  • program name

This is useful to monitor your own jobs to check on their status.

Check all jobs

If you want to see all of the jobs in the queue

condor_q | less

Check which machine the job is running on

Another useful command is condor_status which can tell you information about the cluster machines

[username@computer ~]$ condor_status [-r] | less

This will show a list of the various machine resources and if the option -r is supplied it will only show machines with running jobs.

If there are any concerns about a specific job, please contact the main administrator.