pdsh.1 (2012 03)
pdsh(1) pdsh-2.16 pdsh(1)
(hpux11.31)
krb4 The krb4 module allows users to execute remote commands after authenticating with ker-
beros. Of course, the remote rshd daemons must be kerberized.
xcpu The xcpu module uses the xcpu service to execute remote commands.
OPTIONS
The list of available options is determined at runtime by supplementing the list of standard pdsh options
with any options provided by loaded rcmd and misc modules. In some cases, options provided by modules
may conflict with each other. In these cases, the modules are incompatible and the first module loaded
wins.
Standard Target Nodelist Options
-w [rcmd_type:][user@]host,host,...
Target the specified list of hosts. Do not use with any other node selection options (e.g. -a, -g if
they are available). No spaces are allowed in the comma-separated list. A list consisting of a sin-
gle ‘-’ character causes the target hosts to be read from stdin, one per line. The host list may con-
tain hostlist expressions of the form ‘‘host[1-5,7]’’. For more information about the hostlist for-
mat, see the HOSTLIST EXPRESSIONS section below. A list of hosts may also be preceded by
"user@" to specify a remote username other than the default, or "rcmd_type:" to specify an alter-
nate rcmd connection type for these hosts. When used together, the rcmd type must be specified
first, e.g. "ssh:user1@host0" would use ssh to connect to host0 as user "user1."
-x host,host,...
Exclude the specified hosts. May be specified in conjunction with other target node list options
such as -a and -g (when available). Hostlists may also be specified to the -x option (see the
HOSTLIST EXPRESSIONS section below).
Standard pdsh options
-S Return the largest of the remote command return values.
-h Output usage menu and quit. A list of available rcmd modules will also be printed at the end of
the usage message.
-s Only on AIX, separate remote command stderr and stdout into two sockets.
-q List option values and the target nodelist and exit without action.
-b Disable ctrl-C status feature so that a single ctrl-C kills parallel job. (Batch Mode)
-l user This option may be used to run remote commands as another user, subject to authorization. For
BSD rcmd, this means the invoking user and system must be listed in the user´s .rhosts file
(even for root).
-t seconds
Set the connect timeout. Default is 30 seconds.
-u seconds
Set a limit on the amount of time a remote command is allowed to execute. Default is no limit.
See note in LIMITATIONS if using -u with ssh.
-f number
Set the maximum number of simultaneous remote commands to number. The default is 64.
-R name
Set rcmd module to name. This option may also be set via the PDSH_RCMD_TYPE environment
variable. A list of available rcmd modules may be obtained via the -h, -V,or-L options. The
default will be listed with -h or -V.
-L List info on all loaded pdsh modules and quit.
-N Disable hostname: prefix on lines of output.
-d Include more complete thread status when SIGINT is received, and display connect and com-
mand time statistics on stderr when done.
-V Output pdsh version information, along with list of currently loaded modules, and exit.
qsh/mqsh Module Options
-n tasks_per_node
Set the number of tasks spawned per node. Default is 1.
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: March 2012