Platform LSF Administration Guide Version 6.2
Chapter 6
Managing Jobs
Administering Platform LSF
143
Viewing Job Information
The bjobs command is used to display job information. By default, bjobs displays
information for the user who invoked the command. For more information about
bjobs, see the LSF Reference and the bjobs(1) man page.
Viewing all jobs for all users
Run bjobs -u all to display all jobs for all users. Job information is displayed in the
following order:
1
Running jobs
2
Pending jobs in the order in which they will be scheduled
3
Jobs in high priority queues are listed before those in lower priority queues
For example:
%
bjobs -u all
JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIM
E
1004 user1 RUN short hostA hostA job0 Dec 16 09:
23
1235 user3 PEND priority hostM job1 Dec 11 13:
55
1234 user2 SSUSP normal hostD hostM job3 Dec 11 10:
09
1250 user1 PEND short hostA job4 Dec 11 13:
59
Viewing jobs for specific users
Run bjobs -u user_name to display jobs for a specific user. For example:
%
bjobs -u user1
JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIM
E
2225 user1 USUSP normal hostA job1 Nov 16
11:55
2226 user1 PSUSP normal hostA job2 Nov 16
12:30
2227 user1 PSUSP normal hostA job3 Nov 16
12:31
Viewing exception status for jobs (bjobs)
Use bjobs to display job exceptions. bjobs -l shows exception information for
unfinished jobs, and
bjobs -x -l shows finished as well as unfinished jobs.
For example, the following
bjobs command shows that job 2 is running longer than
the configured JOB_OVERRUN threshold, and is consuming no CPU time.
bjobs
displays the job idle factor, and both job overrun and job idle exceptions. Job 1 finished
before the configured JOB_UNDERRUN threshold, so
bjobs shows exception status
of underrun: