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.
By default there is no limit to the age of lsb.acct.
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.
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.
Enables automatic deletion of archived LSF accounting log files and specifies the archive limit.
By default, lsb.acct.n files are not automatically deleted.
JOB_FINISH
EVENT_ADRSV_FINISH
JOB_RESIZE
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.
Which is JOB_FINISH
Version number of the log file format
Time the event was logged (in seconds since the epoch)
ID for the job
UNIX user ID of the submitter
Bit flags for job processing
Number of processors initially requested for execution
Job submission time
Job start time – the job should be started at or after this time
Job termination deadline – the job should be terminated by this time
Job dispatch time – time job was dispatched for execution
User name of the submitter
Name of the job queue to which the job was submitted
Resource requirement specified by the user
Job dependency condition specified by the user
Pre-execution command specified by the user
Submission host name
Current working directory (up to 4094 characters for UNIX or 512 characters for Windows)
Current working directory specified by bsub -cwd.
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)
Job script file name
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.
Logged value reflects the allocation at job finish time.
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
CPU factor of the first execution host.
Job name (up to 4094 characters).
Complete batch job command specified by the user (up to 4094 characters for UNIX or 512 characters for Windows).
User time used
System time used
Maximum shared text size
Integral of the shared text size over time (in KB seconds)
Integral of the shared memory size over time (valid only on Ultrix)
Integral of the unshared data size over time
Integral of the unshared stack size over time
Number of page reclaims
Number of page faults
Number of times the process was swapped out
Number of block input operations
Number of block output operations
Number of characters read and written (valid only on HP-UX)
Number of System V IPC messages sent
Number of messages received
Number of signals received
Number of voluntary context switches
Number of involuntary context switches
Exact user time used (valid only on ConvexOS)
Name of the user to whom job related mail was sent
LSF project name
UNIX exit status of the job
Maximum number of processors specified for the job
Login shell used for the job
Time event string for the job - Platform Process Manager only
Job array index
Maximum resident memory usage in KB of all processes in the job
Maximum virtual memory usage in KB 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.
SLA service class name under which the job runs
Job exception handling
J_EXCEPT_OVERRUN 0x02
J_EXCEPT_UNDERUN 0x04
J_EXCEPT_IDLE 0x80
Placement information of HPC jobs
Job termination reason, mapped to corresponding termination keyword displayed by bacct.
Job warning action
Job warning time period in seconds
SAAP charged to a job
Platform License Scheduler project name
Application profile name
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).
Job group name
Requeue exit value
Bit flags for job processing
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.
Job description (up to 4094 characters).
Number of elements (key-value pairs) in the structure.
Reserved for internal use.
Reserved for internal use.
Bit flags for job processing
Job submission runtime limit
The number of host-based resource usage entries (hostRusage) that follow. 0 unless LSF_HPC_EXTENSIONS="HOST_RUSAGE" is set in lsf.conf.
Name of the host.
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.
User time used on this host.
System time used 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.
The submission cluster job ID
The name of the submission cluster
The execution cluster job ID
The name of the execution cluster
The runtime resource requirements used for the job.
Network requirements for IBM Parallel Environment (PE) jobs.
CPU frequency at which the job ran.
Which is EVENT_ADRSV_FINISH
Version number of the log file format
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
User reservation (RSV_OPTION_USER, defined as 0x001)
User group reservation (RSV_OPTION_GROUP, defined as 0x002)
System reservation (RSV_OPTION_SYSTEM, defined as 0x004)
Recurring reservation (RSV_OPTION_RECUR, defined as 0x008)
For example, 9is a recurring reservation created for a user.
UNIX user ID of the reservation creator; for example, 30408
For example, user2#0
User name of the reservation user; for example, user2
One-time reservation in seconds since the epoch; for example, 1033761000-1033761600
Recurring reservation; for example, 17:50-18:00
User name of the reservation creator; for example, user1
Duration of the reservation, in hours, minutes, seconds; for example, 600is 6 hours, 0 minutes, 0 seconds
Number of reserved resource pairs in the resource list; for example 2indicates 2 resource pairs (hostA 1 hostB 1)
Reservation host name; for example, hostA
Number of reserved CPUs; for example 1
The version number.
Time the event was logged (in seconds since the epoch).
ID for the job.
Job array index.
The start time of the running job.
UNIX user ID of the user invoking the command
User name of the submitter
Resize event type, 0, grow, 1 shrink.
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.