RSH-ALL(1)
USER COMMANDS
RSH-ALL(1)
NAME
rsh-all - rsh to specified machines

SYNOPSIS
rsh-all [option] command argument...
rsh-all -help

DESCRIPTION
rsh-all executes command on all specified hosts.

Target nodes are specified by the -g options.

The options available for rsh-all:

-g hostgroup
Specifies the node group list to run remote commands on. hostgroup parsed by scorehosts. The shell environment variable SCBDSERV must be set to access the Cluster Database server.

-i input-file
Redirect input for command from input-file. If - is specified as the filename, standard input is used. If the -i option is omitted, no standard input is used. For example,
"echo hello | rsh-all -g host1+host2 -i - cat" will echo "hello" on hosts host1 and host2.

-j number-of-job
Specify number of hosts to run same time to number-of-job. default is 150.

-P
If this option is not specified, rsh-all prints the hostname at the beginning of each rsh output line, and standard error of the command is redirected to standard output.
If this option is specified, the hostname is suppressed at the beginning of the line, and standard error is not redirected.

-q
rsh-all normally prints the hostname when each rsh command is invoked. This option suppresses it.

-s
rsh-all normally invokes rsh simultaneously on all nodes. If this option is specified, rsh-all invokes rsh sequentially.

-help
Display a help message, and exit.

ENVIRONMENT
SCBDSERV
Set SCBDSERV for the -g option to access the Cluster Database server
SCORE_RSH
Speciy command to execute command to remote hosts. If SCORE_RSH is not set, rsh command is used.

FILES
(INSTALL_DIR)/etc/scorehosts.db
Cluster database configuration file

SEE ALSO
scorehosts(1) scorehosts.db(5), scoreboard(8), scout(1)

CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003 PC Cluster Consortium.