Previous Topic: CA Solaris Zones CLI CommandsNext Topic: dpmzone clonezone Command--Clone a Zone


dpmzone associateproject Command--Associate a Task with a Project

The associateproject command associates a task with a project. A task is a collection of processes that represent a set of work over time. Each task is associated with one project.

This command has the following format:

dpmzone associateproject 
[-sc sc_host] 
-host hostname 
-name zonename 
-proj_name pname 
-task_id tid 
[-pre] 
[-post]
[-locale iso639value]
-sc sc_host

(Optional) Specifies the host name of the Service Controller.

-host hostname

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

-name zonename

Specifies the zone that provides the project.

-proj_name pname

Specifies the project.

-task_id tid

Specifies the ID number of the task.

-pre

(Optional) Specifies whether to generate an event before the operation is performed.

-post

(Optional) Specifies whether to generate an event after the operation is performed.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

Example

Associate a task with a project:

dpmzone associateproject -host SolarisServer2 -name myzone1 -project_name myproject1 
-task_id 1954