Previous Topic: dpmzone-createzone Command--Create a Zone (Funclet)Next Topic: dpmzone-deleteproject Command--Delete a Project (Funclet)


dpmzone-customcommand Command--Run a Custom Command (Funclet)

The dpmzone-customcommand command lets you run external commands or scripts on the Solaris server.

Note: For information about restricted external commands, see the Custom Commands appendix in this guide.

This command has the following format:

dpmzone-customcommand 
-host hostname 
-cmd command
-host hostname

Specifies the Solaris Zones server. This parameter is case-sensitive.

-cmd command

Defines which program or script to run.

Example

Run a command on host SolarisServer2.

dpmzone-customcommand -host SolarisServer2 -cmd /usr/local/lab/scripts/test_connections.pl