=head1 Name psh - parallel remote shell =head1 B B [B<-i> I] [B<-f> I] [B<-l> I] I I B {B<-h>|B<--help>|B<-v>|B<--version>} =head1 B B is a utility used to run a command across a list of nodes in parallel. B must be set up to allow no prompting for B 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. =head1 B =over 7 =item B<-i> I The NIC on the node that psh should communicate with. For example, if I is B, then psh will concatenate B<-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. =item B<-f> I Specifies a fanout value for the maximum number of concur- rently executing remote shell processes. =item B<-l> I Log into the nodes as the specified username. The default is to use the same username as you are running the psh command as. =item B See L. =item B Command to be run in parallel. If no command is give then B 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. =item B<-h>|B<--help> Print help. =back =head1 B B =over 4 =item B Specifies the fanout value. This variable is overridden by the B<-f> flag. Default is 64. =back =head1 B =over 3 =item * Run uptime on 3 nodes: B I I node4: Sun Aug 5 17:42:06 MDT 2001 node5: Sun Aug 5 17:42:06 MDT 2001 node6: Sun Aug 5 17:42:06 MDT 2001 =item * Run a command on some BladeCenter management modules: B I I<'info -T mm[1]'> =item * Remove the tmp files on the nodes in the 1st frame: B I I<'rm -f /tmp/*'> Notice the use of '' to forward shell expansion. This is not necessary in interactive mode. =back =head1 B B L, L, L, L