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.
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.
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.
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.
Enables automatic archiving of LSF accounting log file lsb.acct, and specifies the time of day to archive the current log file.
Enables automatic deletion of archived LSF accounting log files and specifies the archive limit.
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.
Job start time – the job should be started at or after this time
Job termination deadline – the job should be terminated by this time
Current working directory (up to 4094 characters for UNIX or 512 characters for Windows)
Input file name (up to 4094 characters for UNIX or 512 characters for Windows)
output file name (up to 4094 characters for UNIX or 512 characters for Windows)
Error output file name (up to 4094 characters for UNIX or 512 characters for Windows)
Number of host names to which job dispatching will be limited
List of host names to which job dispatching will be limited (%s for each); nothing is logged to the record for this value if the last field value is 0. If there is more than one host name, then each additional host name will be returned in its own field
Number of processors used for execution
If LSF_HPC_EXTENSIONS="SHORT_EVENTFILE" is specified in lsf.conf, the value of this field is the number of .hosts listed in the execHosts field.
List of execution host names (%s for each); nothing is logged to the record for this value if the last field value is 0.
If LSF_HPC_EXTENSIONS="SHORT_EVENTFILE" is specified in lsf.conf, the value of this field is logged in a shortened format.
The logged value reflects the allocation at job finish time.
Job status. The number 32 represents EXIT, 64 represents DONE
Complete batch job command specified by the user (up to 4094 characters for UNIX or 512 characters for Windows).
Integral of the shared memory size over time (valid only on Ultrix)
Maximum resident memory usage in the unit specified by LSF_UNIT_FOR_LIMITS in lsf.conf of all processes in the job
Maximum virtual memory usage in the unit specified by LSF_UNIT_FOR_LIMITS in lsf.conf of all processes in the job
Spool input file (up to 4094 characters for UNIX or 512 characters for Windows)
Spool command file (up to 4094 characters for UNIX or 512 characters for Windows)
Advance reservation ID for a user group name less than 120 characters long; for example, "user2#0"
If the advance reservation user group name is longer than 120 characters, the rsvId field output appears last.
Job termination reason, mapped to corresponding termination keyword displayed by bacct.
Post-execution command to run on the execution host after the job finishes
Estimated run time for the job, calculated as the CPU factor of the submission host multiplied by the runtime estimate (in seconds).
Resize notification command to be invoked on the first execution host upon a resize request.
Last resize time. The latest wall clock time when a job allocation is changed.
Advance reservation ID for a user group name more than 120 characters long.
If the advance reservation user group name is longer than 120 characters, the rsvId field output appears last.
The number of host-based resource usage entries (hostRusage) that follow. 0 unless HPC_EXTENSIONS="HOST_RUSAGE" is set in lsf.conf.
Total resident memory usage of all processes in the job running on this host.
The total virtual memory usage of all processes in the job running on this host.
Number of following key-value pairs containing extended host information (PGIDs and PIDs). Set to 0 in lsb.events, lsb.acct, and lsb.stream files.
Time the event was logged (in seconds since the epoch); for example, "1038942015"
Time the advance reservation was created (in seconds since the epoch); for example, "1038938898"
For example, "9" is a recurring reservation created for a user.
UNIX user ID of the reservation creator; for example, "30408"
Duration of the reservation, in hours, minutes, seconds; for example, "600" is 6 hours, 0 minutes, 0 seconds
Number of reserved resource pairs in the resource list; for example "2" indicates 2 resource pairs ("hostA 1 hostB 1")
The wall clock time when job allocation is changed previously. The first lastResizeTime is the job start time.
The number of execution hosts before allocation is changed. Support LSF_HPC_EXTENSIONS="SHORT_EVENTFILE".
Execution host list before allocation is changed. Support LSF_HPC_EXTENSIONS="SHORT_EVENTFILE".
Number of processors used for execution during resize. If LSF_HPC_EXTENSIONS="SHORT_EVENTFILE" is specified in lsf.conf, the value of this field is the number of hosts listed in short format.
List of execution host names during resize. If LSF_HPC_EXTENSIONS="SHORT_EVENTFILE" is specified in lsf.conf, the value of this field is logged in a shortened format.