bacct

Displays accounting statistics about finished jobs.

Synopsis

bacct [-b-l][-d][-e][-w][-x][-appapplication_profile_name] [-Ctime0,time1] [-Dtime0,time1] [-flogfile_name]

[-Lpls_project_name ...] [-mhost_name ...-Mhost_list_file] [-Nhost_name -Nhost_model -Ncpu_factor]

[-Pproject_name ...] [-qqueue_name ...] [-slaservice_class_name ...] [-Stime0,time1] [-uuser_name ... -u all]

bacct [-b-l][-flogfile_name] [job_ID ...]

bacct [-Ureservation_ID ... -U all [-uuser_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 time—when the first job was logged

ET is the End time—when the last job was logged

You can use the option -Ctime0,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.

Platform LSF Command Reference 7