LSF Version 7.3 - Running Jobs With Platform LSF
Viewing Jobs in Job Groups
Viewing job group information (bjgroup)
Use the bjgroup command to see information about jobs in job groups.
bjgroup
GROUP_NAME NJOBS PEND RUN SSUSP USUSP FINISH SLA JLIMIT OWNER
/fund1_grp 5 4 0 1 0 0 Inuvik 1/- user1
/fund2_grp 11 2 5 0 0 4 () 5/- user1
/bond_grp 2 2 0 0 0 0 () 0/- user2
/risk_grp 2 1 1 0 0 0 () 1/- user3
/admi_grp 4 4 0 0 0 0 () 0/- user3
Viewing jobs by job group (bjobs)
Use the -g option of bjobs and specify a job group path to view jobs attached to the
specified group.
bjobs -g /risk_group
JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME
113 user1 PEND normal hostA myjob Jun 17 16:15
111 user2 RUN normal hostA hostA myjob Jun 14 15:13
110 user1 RUN normal hostB hostA myjob Jun 12 05:03
104 user3 RUN normal hostA hostC myjob Jun 11 13:18
bjobs -l displays the full path to the group to which a job is attached:
bjobs -l -g /risk_group
Job <101>, User <user1>, Project <default>, Job Group
</risk_group>, Status <RUN>, Queue <normal>, Command <myjob>
Tue Jun 17 16:21:49: Submitted from host <hostA>, CWD
</home/user1;
Tue Jun 17 16:22:01: Started on <hostA>;
...
For more information
See Administering Platform LSF for more information about using job groups.