LSF Version 7.3 - Administering Platform LSF

Task Control
742 Administering Platform LSF
Similarly, when specifying resource requirements following the @, it is necessary to
use
/ only if the first requirement characters specified are also the first characters
of a host name. You do not have to type in resource requirements for each
command line you type if you put these task names into remote task list together
with their resource requirements by running
lsrtasks.
Task Control
Task control in lstcsh is the same as in tcsh except for remote background tasks.
lstcsh numbers shell tasks separately for each execution host.
jobs command
The output of the built-in command jobs lists background tasks together with their
execution hosts. This break of transparency is intentional to give you more control
over your background tasks.
sleep 30 @hostD &
<< remote execution on hostD >>
[1] 27568
sleep 40 @hostD &
<< remote execution on hostD >>
[2] 10280
sleep 60 @hostB &
<< remote execution on hostB >>
[1] 3748
jobs
<hostD>
[1] + Running sleep 30
[2] Running sleep 40
<hostB>
[1] + Running sleep 60
Bring a remote background task to the foreground
1 To bring a remote background task to the foreground, the host name must be
specified together with
@, as in the following example:
fg %2 @hostD
<< remote execution on hostD >>
sleep 40
Built-in Commands
lstcsh supports two built-in commands to control load sharing, lsmode and
connect.
In this section
lsmode on page 743
connect on page 744