| EOS;
if (isset($_REQUEST['noderange'])) {
	echo "Run Command on: ";
	if (strlen($_REQUEST['noderange']) > 70) {
		echo "\n";
	} else {
		echo "\n";
	}
} else { echo "Run Command on a Group of Nodes\n"; }
echo << | 
	| Select a previous command from the history, or enter the command and options below. Then click on Run Cmd. | 
    | EOS2;
//		
insertButtons(array('label' => 'Run Cmd', 'onclick' => 'CommandWindow.updateCommandResult()'));
echo " | 
\n";
if (!isset($_REQUEST['noderange'])) {
	echo "| Run Command on Group: | 
\n";
}
?>
    
      | Command: 
        
       History: | 
    
      | Copy command to nodes  (The command specified above will 1st be copied
      	to /tmp on the nodes and executed from there.) | 
    
      | Use parallel shell (psh) command instead of xdsh.  Currently this option must be used, and the options below (associated with xdsh) are disabled. | 
    
      | Options: | 
    
      |  | Streaming mode | Specifies that output is returned as it becomes available from each target, instead of waiting for the command to be completed on a target before returning output from that target. | 
    
      |  | Monitor | Prints starting and completion messages for each node.  Useful with Streaming mode. | 
    
      |  | Verify | Verifies that nodes are responding before sending the command to them. | 
    
      |  | Collaspe Identical Output | Automatically pipe the xdsh output into xdshbak which will only display output once for all the nodes that display identical output.  See the xdshbak man page for more info. | 
    
      |  | Fanout: | The maximum number of nodes the command should be run on concurrently. When the command finishes on 1 of the nodes, it will be started on an additional node (the default is 64). | 
    
      |  | UserID: | The user id to use to run the command on the nodes. | 
    
      |  | Remote Shell: | The remote shell program to use to run the command on the nodes. The default is /usr/bin/ssh. | 
    
      |  | Shell Options: | Options to pass to the remote shell being used. | 
    
      |  | Return Code | Prints the return code of the (last) command that was run remotely on each node. The return code is appended at the end of the output for each node. | 
    | Tips: |