Platform LSF Reference Version 6.2
lsb.acct Structure
Platform LSF Reference
316
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
JOB_FINISH
A job has finished.
If LSF_HPC_EXTENSIONS="SHORT_EVENTFILE" is specified in
lsf.conf,
older daemons and commands (pre-LSF Version 6.0) cannot recognize the
lsb.acct
file format.
The fields in order of occurrence are:
Event type (%s)
Which is “JOB_FINISH"