Command Reference Guide

Platform LSF Command Reference 45
bhist
displays historical information about jobs
Synopsis
bhist [-a | -d | -e |-p | -r | -s] [-b | -w] [-l]
[-C start_time,end_time] [-D start_time,end_time]
[-f logfile_name | -n number_logfiles | -n 0]
[-S start_time,end_time] [-J job_name] [-Lp ls_project_name]
[-m host_name] [-N host_name | -N host_model | -N CPU_factor]
[-P project_name] [-q queue_name] [-u user_name | -u all]
bhist [-t] [-f logfile_name] [-T start_time,end_time]
bhist [-J job_name] [-N host_name | -N host_model | -N
cpu_factor]
[job_ID ... | "job_ID[index]" ...]
bhist [-h | -V]
Description
By default:
Displays information about your own pending, running and suspended jobs.
Groups information by job
CPU time is not normalized
Searches the event log file currently used by the LSF system:
$LSB_SHAREDIR/cluster_name/logdir/lsb.events (see lsb.events(5))
Displays events occurring in the past week, but this can be changed by setting
the environment variable LSB_BHIST_HOURS to an alternative number of
hours
If neither
-l nor -b is present, the default is to display only the fields shown in
Output on page 48.
Options
-a Displays information about both finished and unfinished jobs.
This option overrides
-d, -p, -s, and -r.
-b Brief format. Displays the information in a brief format. If used with the -s option,
shows the reason why each job was suspended.
-d Only displays information about finished jobs.
-e Only displays information about exited jobs.
-l Long format. Displays additional information. If used with -s, shows the reason
why each job was suspended.
If you submitted a job using the
OR (||) expression to specify alternative resources,
this option displays the successful
Execution rusage string with which the job
ran.