System Administration Guide: Resource Management and Network Services

Tasks

With each successful login into a project, a new task that contains the login process is created. The task is a process collective that represents a set of work over time. A task can also be viewed as a workload component.

Each process is a member of one task, and each task is associated with one project.

Figure 6–1 Project and Task Tree

Diagram shows one project with three tasks under it, and two to four processes under each task.

All operations on sessions, such as signal delivery, are also supported on tasks. You can also bind tasks to processor sets and set their scheduling priorities and classes, which modifies all current and subsequent processes in the task.

Tasks are created at login (see login(1)), by cron(1M), by newtask(1), and by setproject(3PROJECT).

The extended accounting facility can provide accounting data for processes that is aggregated at the task level.