To start DCEM, type the following at the command line:
/opt/csm/dcem/bin/dcem
The DCEM command line options are as follows:
/opt/csm/dcem/bin/dcem [-h | --help] [-V | --version] [-v | --verbose] [-N | --groups <group,group,group,...>] [-n | --hosts <host_name,host_name,host_name,...>] [command_specification_name]
Using the dcem command without options displays the Distributed Command Execution Manager dialog. From this dialog, you can create a new command specification or select from a list of saved command specifications.
Using the dcem command with the command_specification_name option causes DCEM to initialize the input fields in the main window with specified command data. The command_specification_name refers to the name used to save a command specification in the DCEM dialog. To send the command defined in the command specification to the specified hosts or groups, click the Run button in the dialog. The Execution Progress dialog shows the progress of the executed commands. To reset DCEM to the default values, click the Defaults button in the dialog.
You can also use the following flags:
Example:
The following example specifies hosts and groups together with the command_specification_name parameter on the command line. Assume the myCommand command specification was saved with host names h1, h2, h3, and groups of hosts g1, g2, g3.
dcem
dcem -N g4,g5 myCommand
This results in the following output in the following GUI fields:
Host names:{empty} Groups of hosts: g4,g5
dcem -N g4,g5 --hosts h4 myCommand
This results in the following output in the following GUI fields:
Host names: h4 Groups of hosts: g4,g5
dcem -V
export DISPLAY=IP address of the machine on which you wish to display the GUI:0