LSF Version 7.3 - Platform LSF Configuration Reference
lsb.acct
The lsb.acct file is the batch job log file of LSF. The master batch daemon (see mbatchd(8)) generates a record for
each job completion or failure. The record is appended to the job log file lsb.acct.
The file is located in LSB_SHAREDIR/cluster_name/logdir, where LSB_SHAREDIR must be defined in lsf.conf
(5) and cluster_name is the name of the LSF cluster, as returned by lsid(1). See mbatchd(8) for the description
of LSB_SHAREDIR.
The bacct command uses the current lsb.acct file for its output.
lsb.acct structure
The job log file is an ASCII file with one record per line. The fields of a record are separated
by blanks. If the value of some field is unavailable, a pair of double quotation marks ("") is
logged for character string, 0 for time and number, and -1 for resource usage.
Configuring automatic archiving
The following parameters in lsb.params affect how records are logged to lsb.acct:
ACCT_ARCHIVE_AGE=days
Enables automatic archiving of LSF accounting log files, and specifies the archive
interval. LSF archives the current log file if the length of time from its creation date
exceeds the specified number of days.
By default there is no limit to the age of lsb.acct.
ACCT_ARCHIVE_SIZE=kilobytes
Enables automatic archiving of LSF accounting log files, and specifies the archive
threshold. LSF archives the current log file if its size exceeds the specified number of
kilobytes.
By default, there is no limit to the size of lsb.acct.
ACCT_ARCHIVE_TIME=hh:mm
Enables automatic archiving of LSF accounting log file lsb.acct, and specifies the time
of day to archive the current log file.
By default, no time is set for archiving lsb.acct.
MAX_ACCT_ARCHIVE_FILE=integer
Enables automatic deletion of archived LSF accounting log files and specifies the
archive limit.
By default, lsb.acct.n files are not automatically deleted.
Records and fields
The fields of a record are separated by blanks. The first string of an event record indicates its
type. The following types of events are recorded:
•
JOB_FINISH
•
EVENT_ADRSV_FINISH
lsb.acct
150 Platform LSF Configuration Reference