Platform LSF Reference Version 6.2

bacct
Platform LSF Reference
13
bacct
displays accounting statistics about finished jobs
SYNOPSIS
bacct [-b | -l] [-d] [-e] [-w] [-C time0,time1] [-D time0,time1] [-f logfile_name]
[
-Lp ls_project_name ...] [-m host_name ...]
[
-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] [-x] [job_ID ...]
bacct -U reservation_ID ... | -U all [-u user_name ... | -u all]
bacct [-h | -V]
DESCRIPTION
By default, displays 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.
By default,
bacct displays statistics for all jobs logged in the current LSF accounting
log file:
LSB_SHAREDIR/cluster_name/logdir/lsb.acct (see
lsb.acct(5)).
By default, CPU time is not normalized.
If neither
-l nor -b is present, displays the fields in SUMMARY only (see OUTPUT).
Statistics not reported by
bacct but of interest to individual system administrators can
be generated by directly using
awk(1) or perl(1) to process the lsb.acct file.
All times are in seconds.
When combined with the
-U option, -u is interpreted as the user name of the
reservation creator. For example:
% bacct -U all -u user2
Shows all the advance reservations created by user user2.
Without the
-u option, bacct -U shows all advance reservation information about
jobs submitted by the user.
In a MultiCluster environment, advance reservation information is only logged in the
execution cluster, so
bacct displays advance reservation information for local
reservations only. You cannot see information about remote reservations.
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