Platform LSF Administration Guide Version 6.2
Built-in Commands
Administering Platform LSF
634
Built-in Commands
lstcsh supports two built-in commands to control load sharing, lsmode and
connect.
In this section
◆
“lsmode” on page 634
◆
“connect” on page 635
lsmode
Syntax
lsmode
[
on
|
off
] [
local
|
remote
] [
e
|
-e
] [
v
|
-v
] [
t
|
-t
]
Description
The lsmode command reports that LSF is enabled if lstcsh was able to contact LIM
when it started up. If LSF is disabled, no load-sharing features are available.
The
lsmode command takes a number of arguments that control how lstcsh
behaves.
With no arguments,
lsmode displays the current settings:
%
lsmode
LSF
Copyright Platform Computing Corporation
LSF enabled, local mode, LSF on, verbose, no_eligibility_verbo
se, no timing.
Options
◆
[
on
|
off
]
Turns load sharing on or off. When turned off, you can send a command line to a
remote host only if force eligibility is specified with @.
The default is on.
◆
[
local
|
remote
]
Sets
lstcsh to use local or remote mode.
The default is local. See “Local and Remote Modes” on page 626 for a description
of local and remote modes.
◆
[
e
|
-e
]
Turns eligibility verbose mode on (
e) or off (-e). If eligibility verbose mode is on,
lstcsh shows whether the command is eligible for remote execution, and displays
the resource requirement used if the command is eligible.
The default is off.
◆
[
v
|
-v
]
Turns task placement verbose mode on (
v) or off (-v). If verbose mode is on,
lstcsh displays the name of the host on which the command is run, if the
command is not run on the local host. The default is on.
◆
[
t
|
-t
]
Turns wall-clock timing on (
t) or off (-t).
If timing is on, the actual response time of the command is displayed. This is the
total elapsed time in seconds from the time you submit the command to the time
the prompt comes back.