Remotely logs in to a lightly loaded host.


lslogin [-v] [-m "host_name ..." | -m "cluster_name ..."] [-R "res_req"] [rlogin_options]
lslogin [-h | -V]


Note: This command is deprecated and might be removed in a future version of LSF.

By default, the lslogin command selects the least loaded host, with few users who are logged in, and remotely logs in to that host by using the UNIX rlogin command.

In a IBM Spectrum LSF multicluster capability environment, the default is to select the least loaded host in the local cluster.

As an alternative to the rlogin command, you can use an SSH connection by enabling the LSF_LSLOGIN_SSH parameter in the lsf.conf file.


Displays the name of the host that the lslogin command remotely logs you in to.
-m "host_name ..." | -m "cluster_name ..."
Remotely logs in to the specified host.

With the IBM Spectrum LSF multicluster capability job forwarding, when a cluster name is specified, remotely logs in to the least loaded host in the specified cluster. The remote cluster must be configured to accept interactive jobs from the local cluster in the lsf.cluster file.

-R "res_req"
Remotely logs in to a host that meets the specified resource requirement. The resource requirement expression restricts the set of candidate hosts and determines the host selection policy.

To find out what resources are configured in your system, use the lsinfo and lshosts commands.

Specify remote login options that are passed to the rlogin command.

If remote execution fails, the lslogin command logs in locally only if the local host also satisfies required resources; otherwise, log in fails.

Prints command usage to stderr and exits.
Prints LSF release version to stderr and exits.


lslogin -R "select[it>1 && bsd]"

Remotely logs in to a host that is idle for at least 1 minute, runs BSD UNIX, and is lightly loaded both in CPU resources and the number of users who are logged in.


Because the lslogin command passes all unrecognized arguments to the rlogin command, incorrect options usually cause the rlogin usage message to be displayed rather than the lslogin usage message.

See also

ls_placereq, rlogin