Platform LSF Reference Version 6.2
ch
Platform LSF Reference
184
OPTIONS
-S
Starts remote tasks with shell mode support. Shell mode support is required for running
interactive shells or applications which redefine the
CTRL-C and CTRL-Z keys (for
example,
jove).
-t
Turns on the timing option. The amount of time each subsequent command takes to
execute is displayed.
host_name
Executes subsequent commands on the specified host.
-h
Prints command usage to stderr and exits.
-V
Prints LSF release version to stderr and exits.
USAGE
The ch command interprets the following built-in commands:
cd [directory_name]
Changes the current working directory to the specified directory. If a directory
is not specified, changes to the user’s home directory by default.
ch [host_name]
Changes the current working host to the specified host. If a host is not
specified, changes to the home host by default.
post [command [argument ...]]
Posts the specified command for execution in the background on the current
working host.
ch assigns a unique task ID to this command and displays this
ID, then continues to interact with the user. However, the output of
background jobs may disturb the screen. You can post multiple commands on
one host or on different hosts. When a previously posted command is
completed,
ch reports its status to the standard error. If a command is not
specified,
ch displays all currently running background commands.
contact task_ID
Brings a previously posted background command into the foreground. task_ID
is the ID returned by the
post command. Standard input is now passed to this
foreground command. You cannot put an active foreground job into the
background. A command that has been brought into the foreground with the
contact command cannot be put back into the background.
exit
Exits ch if there are no posted commands running. Typing an EOF character
(usually
CTRL-D but may be set otherwise, see stty(1)) forces ch to exit;
uncompleted posted commands are killed.