System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones

ProcedureHow to Create a New Task

  1. Log in as a member of the destination project, booksite.

  2. Create a new task in the booksite project by using the newtask command with the -v (verbose) option to obtain the system task ID.

    machine% newtask -v -p booksite

    The execution of newtask creates a new task in the specified project, and places the user's default shell in this task.

  3. View the current project membership of the invoking process.

    machine% id -p
    uid=100(mark) gid=1(other) projid=4113(booksite)

    The process is now a member of the new project.