\n"; } else { // if loading in the tabs, still need to load dsh.js (dsh.css must be loaded in the section and therefore must be loaded by groups.php) echo "\n"; } echo "
\n"; if (isset($_REQUEST['noderange']) && !isset($_REQUEST['intab'])) { echo "

Run Command on: "; if (strlen($_REQUEST['noderange']) > 70) { echo "

\n"; } else { echo "

\n"; } } echo "

Select a previous command from the history, or enter the command and options below. Then click on Run Cmd.

\n"; insertButtons(array('label' => 'Run Cmd', 'id' => 'runcmdButton', 'onclick' => 'opencmddialog()')); if (!isset($_REQUEST['noderange']) && !isset($_REQUEST['intab'])) { echo "

Run Command on Group:

\n"; } ?>

Command: History:

Options:

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.
Prints starting and completion messages for each node. Useful with Streaming mode.
Verifies that nodes are responding before sending the command to them.
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.
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:

\n"; insertFooter(); } ?>