Options

The following options can be specified only on the command line:

Table 6-2 udsh Options

Option

Description

-b

Do not break lines to column width when displaying output.

-c

Do not remove the host from the list if the command fails.

-d   

Add a time stamp to the displayed output.

-f <num>

Specify the maximum number of concurrent processes to run.

-g <hostgrp>, <hostgrp wildcard>

Specify the Command Control host groups to retrieve the list of agents to run the command on. Wildcards must be properly escaped. For example to run udsh against all host groups that begin with ho, enter the following:

-g ho\*

-l <user>

Specify the user to run the command as.

-q

Quiet. Do not display output.

-t <timeout>

Specify the timeout in seconds for the command to complete on each host.

-v

Verbose output.

-w <host>, <host wildcard>

Specify the agents to run the command on. Wildcards must be properly escaped. For example, to run udsh against all hosts that begin with host1, enter the following:

-w host1\*

If a command is not specified, the user is placed at a command prompt. Each entry run from this prompt is run separately on each host. If readline(3) is available, command line editing and history are provided.