LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 601
Interactive Jobs with bsub
If running jobs under a particular shell is required frequently, you can specify an
alternate shell using a command-level job starter and run your jobs interactively.
See Controlling Execution Environment Using Job Starters on page 571 for more
details.
Registering 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:
SGI IRIX (6.4 and later)
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.