Appendix A. xCAT commands 151
psh - Parallel remote shell
Synopsis
psh [-s] [noderange|me|pbs job id] [command]
psh [-h|--help|-v|--version]
Description
psh is a utility used to run a command across a list of nodes in parallel. See
noderange(3).
psh relies on the rsh field in site.tab(5) to determine whether to use rsh, ssh, or
any other method to launch a remote shell. rsh, ssh, or any other method must
be set up to allow no prompting (that is, .rhosts for rsh and sshd_config and
.rhosts for ssh) for psh to work.
Options
-s Issues the commands serially.
noderange See noderange(3).
me Run against nodes owned by "me" as listed by PBS's
qstat(1B) command.
pbs Run against nodes assigned to a PBS job as listed by
PBS's qstat(1B) command.
command Command ...