lslogin

remotely logs in to a lightly loaded host

Synopsis

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

lslogin [-h -V]

Description

Remotely logs in to a lightly loaded host.

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

In a MultiCluster environment, the default is to select the least loaded host in the local cluster.

Options

-vDisplays the name of the host to which lslogin remotely logs you in.

-m "host_name ..." -m "cluster_name ..."

Remotely logs in to the specified host.

With MultiCluster job forwarding, when a cluster name is specified, remotely logs in to the least loaded host in the specified cluster, if the remote cluster accepts interactive jobs from the local cluster (see lsf.cluster(5)).

-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.

For a complete explanation of resource requirement expressions, see Administering Platform LSF. To find out what resources are configured in your system, use lsinfo and lshosts.

rlogin_options Specify remote login options passed to the rlogin command.

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

-hPrints command usage to stderr and exits.

-VPrints LSF release version to stderr and exits.

Example

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

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

Platform LSF Command Reference 259