Previous Topic: CA Oracle Solaris Zones AutoShell CommandsNext Topic: dpmzone-clonezone Command--Clone a Zone (Funclet)


dpmzone-associateproject Command--Associate a Task with a Project (Funclet)

The dpmzone-associateproject command associates a task with a project. Projects and tasks are the basic entities used to identify workloads in a Solaris 10 operating system. Projects are collections of tasks, which are collections of processes. Each process belongs to only one task, and each task belongs to only one project.

This command has the following format:

dpmzone-associateproject 
-host hostname -name zonename 
-proj_name pname -task_id tid
-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.

Example

Associate a task with a project:

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