Command Reference Guide

Platform LSF Command Reference 7
bacct
Displays accounting statistics about finished jobs.
Synopsis
bacct [-b | -l] [-d] [-e] [-w] [-x] [-app application_profile_name]
[-C time0,time1] [-D time0,time1] [-f logfile_name]
[-Lp ls_project_name ...] [-m host_name ...|-M host_list_file]
[-N host_name | -N host_model | -N cpu_factor]
[-P project_name ...] [-q queue_name ...]
[-sla service_class_name ...] [-S time0,time1]
[-u user_name ... | -u all]
bacct [-b | -l] [-f logfile_name] [job_ID ...]
bacct [-U reservation_ID ... | -U all [-u user_name ... | -u all]
bacct [-h | -V
]
Description
Displays a summary of accounting statistics for all finished jobs (with a DONE or
EXIT status) submitted by the user who invoked the command, on all hosts,
projects, and queues in the LSF system.
bacct displays statistics for all jobs logged
in the current LSF accounting log file:
LSB_SHAREDIR/cluster_name/logdir/lsb.acct.
CPU time is not normalized.
All times are in seconds.
Statistics not reported by
bacct but of interest to individual system administrators
can be generated by directly using
awk or perl to process the lsb.acct file.
Throughput calculation
The throughput (T) of the LSF system, certain hosts, or certain queues is calculated
by the formula:
T = N/(ET-BT)
where:
N is the total number of jobs for which accounting statistics are reported
BT is the Start timewhen the first job was logged
ET is the End time—when the last job was logged
You can use the option
-C time0,time1 to specify the Start time as time0 and the
End time as time1. In this way, you can examine throughput during a specific time
period.
Jobs involved in the throughput calculation are only those being logged (that is,
with a DONE or EXIT status). Jobs that are running, suspended, or that have never
been dispatched after submission are not considered, because they are still in the
LSF system and not logged in
lsb.acct.