25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Built-in Commands<br />

Built-in Commands<br />

lstcsh supports two built-in commands to control load sharing, lsmode and<br />

connect.<br />

In this section ◆ “lsmode” on page 558<br />

◆ “connect” on page 559<br />

lsmode<br />

Syntax<br />

Description<br />

lsmode [on|off] [local|remote] [e|-e] [v|-v] [t|-t]<br />

The lsmode command reports that <strong>LSF</strong> is enabled if lstcsh was able to<br />

contact LIM when it started up. If <strong>LSF</strong> is disabled, no load-sharing features are<br />

available.<br />

The lsmode command takes a number of arguments that control how lstcsh<br />

behaves.<br />

With no arguments, lsmode displays the current settings:<br />

% lsmode<br />

<strong>LSF</strong><br />

Copyright <strong>Platform</strong> Computing Corporation<br />

<strong>LSF</strong> enabled, local mode, <strong>LSF</strong> on, verbose, no_eligibility_verbo<br />

se, no timing.<br />

Options ◆ [on | off]<br />

Turns load sharing on or off. When turned off, you can send a command<br />

line to a remote host only if force eligibility is specified with @.<br />

The default is on.<br />

◆ [local | remote]<br />

Sets lstcsh to use local or remote mode.<br />

The default is local. See “Local and Remote Modes” on page 550 for a<br />

description of local and remote modes.<br />

◆ [e | -e]<br />

Turns eligibility verbose mode on (e) or off (-e). If eligibility verbose mode<br />

is on, lstcsh shows whether the command is eligible for remote<br />

execution, and displays the resource requirement used if the command is<br />

eligible.<br />

The default is off.<br />

◆ [v | -v]<br />

Turns task placement verbose mode on (v) or off (-v). If verbose mode is<br />

on, lstcsh displays the name of the host on which the command is run,<br />

if the command is not run on the local host. The default is on.<br />

558<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!