RSHP

Section: User Commands (1)
Index Return to Main Contents

BSD mandoc
SYSTEM V  

NAME

rshp - parallel remote shell  

SYNOPSIS

rshp [-h ] [ -a | -b arity ] [-v ] [-P ] [-l username ] [-c connector ] [-i ] [ -m hostname | -m host=XXX,connect=XXX,login=XXX ] [
 -[ [ -a | -b arity ] [ -m hostname -[...-] | -m host=XXX,connect=XXX,login=XXX -[...-] ... -m hostname -[...-] | -m host=XXX,connect=XXX,login=XXX -[...-] -] ] [-- command ]  

DESCRIPTION

Rshp executes command on hosts specified with -m option.

Rshp copies its standard input to remote commands, the standard output of remote commands to its standard output, and the standard error of remote commands to its standard error. Quit signals (Crtl C) are propagated to the remote commands; rshp normally terminates when the remote command does.
The options are as follows:

-a
The -a option fixes arity for the spanning tree used, default is the number of hosts
-b
The -b option fixes arity for the root of the binomial spanning tree used, if the specified value is less than the optimal the optimal is used. If you want to be sure to use the optimal arity use the option { -b0 }.
-c
The -c option allow you to choose what kind of connector you want to use to contact an host.
The available values are :

rshs synchrone rsh connection

rsha asynchrone rsh connection

rshf forking rsh connection

ssh forking ssh connection

ssf forking ssf connection

-v
The -v option turns on the verbose mode: write < hostname > [node_id : id] :->: before output buffer.
-P
The -P option turns on the profiling mode, actually only the execution time.
-i
Let fd opened by application when the exec command is use.
    WARNING don't use it if you don't know what you do ;-)
-l
By default, the remote username is the same as the local username. The -l option allows the remote name to be specified.
-m
The -m option specifies one host. This option can be increased with suboptions

host=hostname

connect=connector_name, which connector we must use for this node

login=log_name, login for this node

-[ and -]: are delimiter for children of one node specified by -m before the first -[ occurence  

If no command is specified, you will be logged in on remote hosts your default shell is used as the default command.

 

FILES

/etc/hosts

 

SEE ALSO

prsh(1), ptools(1), rcmd(3), rexec(3),  

BUGS

You cannot run an interactive command (like rogue(6) or vi(1)) using rshp

ID-IMAG & BULL in dyade project
#### Report new bugs to Cyrille.Martin@imag.fr ####


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 08:07:40 GMT, June 13, 2002