HP XC System Software User's Guide Version 3.2

Example 10-3 Job Allocation Information for a Running Job
$ bjobs -l 24
Job <24>, User <lsfadmin>, Project <default>,
Status <RUN>, Queue <normal>,
Interactive pseudo-terminal shell mode,
Extsched <SLURM[nodes=4]>, Command </bin/bash>
date and time stamp: Submitted from host <n2>, CWD <$HOME>,
4 Processors Requested, Requested Resources <type=any>;
date and time stamp: Started on 4 Hosts/Processors <4*lsfhost.localdomain>;
date and time stamp: slurm_id=22;ncpus=8;slurm_alloc=n[5-8];
SCHEDULING PARAMETERS:
r15s r1m r15m ut pg io ls it tmp swp mem
loadSched - - - - - - - - - - -
loadStop - - - - - - - - - - -
EXTERNAL MESSAGES:
MSG_ID FROM POST_TIME MESSAGE ATTACHMENT
0 - - - -
1 lsfadmin date and time stamp SLURM[nodes=4] N
In particular, note the node and job allocation information provided in the above output:
date and time stamp: Started on 4 Hosts/Processors <4*lsfhost.localdomain>;
date and time stamp: slurm_id=22;ncpus=8;slurm_alloc=n[5-8];
Example 10-4 illustrates how to use the output obtained using the bhist -l command to obtain
job allocation information about a job that has run:
Example 10-4 Job Allocation Information for a Finished Job
$ bhist -l 24
Job <24>, User <lsfadmin>, Project <default>,
Interactive pseudo-terminal shell mode,
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: slurm_id=22;ncpus=8;slurm_alloc=n[5-8];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: slurm_id=22;ncpus=8;slurm_alloc=n[5-8];
10.11.2 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 LSF-HPC. By default, bjobs lists only the
user's jobs that have not finished or exited.
The following are examples of bjobs command usage, and show the output it produces on an
HP XC system. For more information about the bjobs command and its output, see the LSF-HPC
manpages.
Example 10-5 provides abbreviated output of the bjobs command.
108 Using LSF-HPC