Job Allocation Information for a Finished Job
The following is an example of the output obtained using the bhist
$ bhist -l 24
Job <24>, User <lsfadmin>, Project <default>, Interactive
Extsched <SLURM[nodes=4]>, Command </bin/bash>
date and time stamp: Submitted from host <n2>,
to Queue <normal>, CWD <$HOME>,
4 Processors Requested, Requested Resources <type=any>;
date and time stamp: Dispatched to 4 Hosts/Processors <4*lsfhost.localdomain>;
date and time stamp:
date and time stamp: Starting (Pid 4785);
date and time stamp: Done successfully. The CPU time used is 0.1 seconds;
date and time stamp: Post job process done successfully;
Summary of time in seconds spent in various states by date | and time stamp | ||||||
PEND | PSUSP | RUN | USUSP | SSUSP | UNKWN | TOTAL | |
11 | 0 | 220 | 0 | 0 | 0 | 231 |
|
In particular, note the node and job allocation information provided in the above output:
date and time stamp: Dispatched to 4 Hosts/Processors <4*lsfhost.localdomain>;
date and time stamp:
Examining the Status of a Job
Once a job is submitted, you can use the bjobs command to track the job's progress. The bjobs command reports the status of a job submitted to
Example
Example
$ bjobs 24 |
|
|
|
|
|
| |
JOBID | USER | STAT | QUEUE | FROM_HOST EXEC_HOST | JOB_NAME | SUBMIT_TIME | |
24 | msmith | RUN | normal | n16 | lsfhost.localdomain | /bin/bash | date and time |
As shown in the previous output, the bjobs command returns information that includes the job id, user name, job status, queue name, submitting host, executing host, job name, and submit time. In this example, the output shows that job /bin/bash was submitted from node n16 and launched on the execution host (lsfhost.localdomain).
Example
Using