25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 43<br />

Using lstcsh<br />

connect<br />

Syntax<br />

Description<br />

Examples<br />

◆<br />

[t | -t]<br />

Turns wall-clock timing on (t) or off (-t).<br />

If timing is on, the actual response time of the command is displayed. This<br />

is the total elapsed time in seconds from the time you submit the command<br />

to the time the prompt comes back.<br />

This time includes all remote execution overhead. The csh time builtin<br />

does not include the remote execution overhead.<br />

This is an impartial way of comparing the response time of jobs submitted<br />

locally or remotely, because all the load sharing overhead is included in<br />

the displayed elapsed time.<br />

The default is off.<br />

connect [host_name]<br />

lstcsh opens a connection to a remote host when the first command is<br />

executed remotely on that host. The same connection is used for all future<br />

remote executions on that host.<br />

The connect command with no argument displays connections that are<br />

currently open.<br />

The connect host_name command creates a connection to the named host.<br />

By connecting to a host before any command is run, the response time is<br />

reduced for the first remote command sent to that host.<br />

lstcsh has a limited number of ports available to connect to other hosts. By<br />

default each shell can only connect to 15 other hosts.<br />

% connect<br />

CONNECTED WITH<br />

SERVER SHELL<br />

hostA +<br />

% connect hostB<br />

Connected to hostB<br />

% connect<br />

CONNECTED WITH<br />

SERVER SHELL<br />

hostA +<br />

hostB -<br />

In this example, the connect command created a connection to host hostB,<br />

but the server shell has not started.<br />

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

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

Saved successfully!

Ooh no, something went wrong!