25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Monitoring Job Arrays<br />

Monitoring Job Arrays<br />

Job array status<br />

Use bjobs and bhist to monitor the current and past status of job arrays.<br />

To display summary information about the currently running jobs submitted<br />

from a job array, use the -A option of bjobs. For example, a job array of 10<br />

jobs with job ID 123:<br />

% bjobs -A 123<br />

JOBID ARRAY_SPEC OWNER NJOBS PEND DONE RUN EXIT SSUSP USUSP PSUSP<br />

123 myArra[1-10] user1 10 3 3 4 0 0 0 0<br />

Individual job status<br />

Current To display the status of the individual jobs submitted from a job array, specify<br />

the job array job ID with bjobs. For jobs submitted from a job array, JOBID<br />

displays the job array job ID, and JOBNAME displays the job array name and<br />

the index value of each job. For example, to view a job array with job ID 123:<br />

% bjobs 123<br />

JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME<br />

123 user1 DONE default hostA hostC myArray[1] Feb 29 12:34<br />

123 user1 DONE default hostA hostQ myArray[2] Feb 29 12:34<br />

123 user1 DONE default hostA hostB myArray[3] Feb 29 12:34<br />

123 user1 RUN default hostA hostC myArray[4] Feb 29 12:34<br />

123 user1 RUN default hostA hostL myArray[5] Feb 29 12:34<br />

123 user1 RUN default hostA hostB myArray[6] Feb 29 12:34<br />

123 user1 RUN default hostA hostQ myArray[7] Feb 29 12:34<br />

123 user1 PEND default hostA myArray[8] Feb 29 12:34<br />

123 user1 PEND default hostA myArray[9] Feb 29 12:34<br />

123 user1 PEND default hostA myArray[10] Feb 29 12:34<br />

Past To display the past status of the individual jobs submitted from a job array,<br />

specify the job array job ID with bhist. For example, to view the history of a<br />

job array with job ID 456:<br />

% bhist 456<br />

Summary of time in seconds spent in various states:<br />

JOBID USER JOB_NAME PEND PSUSP RUN USUSP SSUSP UNKWN TOTAL<br />

456[1] user1 *rray[1] 14 0 65 0 0 0 79<br />

456[2] user1 *rray[2] 74 0 25 0 0 0 99<br />

456[3] user1 *rray[3] 121 0 26 0 0 0 147<br />

456[4] user1 *rray[4] 167 0 30 0 0 0 197<br />

456[5] user1 *rray[5] 214 0 29 0 0 0 243<br />

456[6] user1 *rray[6] 250 0 35 0 0 0 285<br />

456[7] user1 *rray[7] 295 0 33 0 0 0 328<br />

456[8] user1 *rray[8] 339 0 29 0 0 0 368<br />

456[9] user1 *rray[9] 356 0 26 0 0 0 382<br />

456[10]user1 *ray[10] 375 0 24 0 0 0 399<br />

338<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!