Name

psh - parallel remote shell


Synopsis

psh [-i interface] [-l user] noderange command

psh {-h|--help|-v|--version}


Description

psh is a utility used to run a command across a list of nodes in parallel.

ssh must be set up to allow no prompting for psh to work.

Note: this command does not run through xcatd like most xCAT commands do. This means you must either run it on the management node, or have a network connection between your machine and the nodes.


Options

-i interface

The NIC on the node that psh should communicate with. For example, if interface is eth1, then psh will concatenate -eth1 to the end of every node name before ssh'ing to it. This assumes those host names have been set up to resolve to the IP address of each of the eth1 NICs.

-l user

Log into the nodes as the specified username. The default is to use the same username as you are running the psh command as.

noderange

See noderange(3).

command

Command to be run in parallel. If no command is give then psh enters interactive mode. In interactive mode a ``>'' prompt is displayed. Any command entered is executed in parallel to the nodes in the noderange. Use ``exit'' or ``Ctrl-D'' to end the interactive session.

-h|--help

Print help.


Examples


Author

Egan Ford <egan@us.ibm.com>


See Also

noderange(3), pscp(1), pping(1), prsync(1)