Table of Contents

NAME

lslogin - remote login to a lightly loaded host

SYNOPSIS

lslogin [ -h ] [ -V ] [ -v ] [ -R resreq ] [ rlogin_options ]

DESCRIPTION

lslogin will select a lightly loaded host that has few users logged in and remotely log in to that host, using the UNIX rlogin command.

OPTIONS

-h Print command usage to stderr and exit.

-V Print LSF release version to stderr and exit.

-v Display the name of the selected host.

-V Print LSF release version to stderr and exit.

-R resreq
resreq is a resource requirement expression that restricts the set of candidate hosts and determines the host selection policy (see lsfintro(1) for details). If resreq is not specified, the default is to log in to the host that has the least number of users logged in and the lightest load.

rlogin_options
rlogin_options are passed to the rlogin(1) command. If remote execution fails, lslogin will login locally only if the local host also satisfies the required resources; otherwise, it will fail.

EXAMPLE

% lslogin -R «select[it>1 && bsd]"
remotely log 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.

DIAGNOSTICS

Because lslogin passes all unrecognised arguments to rlogin(1) , incorrect options usually cause the rlogin usage message to be printed rather than the lslogin usage message.

SEE ALSO

lsfintro(1) , ls_placereq(3) , rlogin(1)


Table of Contents