Platform LSF Administration Guide Version 6.2

Chapter 36
Running Interactive and Remote Tasks
Administering Platform LSF
535
Load Sharing Interactive Sessions
There are different ways to use LSF to start an interactive session on the best available
host.
Logging on to the least loaded host
To log on to the least loaded host, use the lslogin command.
When you use
lslogin, LSF automatically chooses the best host and does an rlogin
to that host.
With no argument,
lslogin picks a host that is lightly loaded in CPU, has few login
sessions, and whose binary is compatible with the current host.
Logging on to a host with specific resources
If you want to log on a host that meets specific resource requirements, use the lslogin
-R res_req
option.
%
lslogin -R "solaris order[ls:cpu]"
This command opens a remote login to a host that has the sunos resource, few other
users logged in, and a low CPU load level. This is equivalent to using
lsplace to find
the best host and then using
rlogin to log in to that host:
%
rlogin 'lsplace -R "sunos order[ls:cpu]"'