Register utmp file entries for interactive batch jobs

LSF administrators can configure the cluster to track user and account information for interactive batch jobs submitted with bsub -Ip or bsub -Is. User and account information is registered as entries in the UNIX utmp file, which holds information for commands such as who. Registering user information for interactive batch jobs in utmp allows more accurate job accounting.

Configuration and operation

To enable utmp file registration, the LSF administrator sets the LSB_UTMP parameter in lsf.conf.

When LSB_UTMP is defined, LSF registers the job by adding an entry to the utmp file on the execution host when the job starts. After the job finishes, LSF removes the entry for the job from the utmp file.

Limitations

  • Registration of utmp file entries is supported on the following platforms:
    • Solaris (all versions)

    • HP-UX (all versions)

    • Linux (all versions)

  • utmp file registration is not supported in a MultiCluster environment.

  • Because interactive batch jobs submitted with bsub -I are not associated with a pseudo-terminal, utmp file registration is not supported for these jobs.