Skip Navigation Links | |
Exit Print View | |
Solaris Containers: Resource Management and Solaris Zones Developer's Guide |
1. Resource Management in the Solaris Operating System
3. Using the C Interface to Extended Accounting
4. Using the Perl Interface to Extended Accounting
Resource Controls Flags and Actions
Resource Control Values and Privilege Levels
Global Actions and Global Flags
Resource Control Sets Associated With a Project, Processes and Tasks
Resource Controls Associated With a Project
Resource Controls Associated With Tasks
Resource Controls Associated With Processes
Signals Used With Resource Controls
Resource Controls API Functions
Operate on Action-Value Pairs of a Resource Control
Operate on Local Modifiable Values
Retrieve Local Read-Only Values
Retrieve Global Read-Only Actions
Resource Control Code Examples
Master Observing Process for Resource Controls
List all the Value-action Pairs for a Specific Resource Control
Set project.cpu-shares and Add a New Value
Set LWP Limit on Resource Control Blocks
Programming Issues Associated With Resource Controls
7. Design Considerations for Resource Management Applications in Solaris Zones
Use the extended accounting facility to determine the resource consumption of workloads on your system. After the resource consumption has been determined, use the resource control facility to place bounds on resource usage. Bounds that are placed on resources prevent workloads from over-consuming resources.
For an overview of resource controls and example commands for administering resource controls, see Chapter 6, Resource Controls (Overview), in System Administration Guide: Solaris Containers-Resource Management and Solaris Zones and Chapter 7, Administering Resource Controls (Tasks), in System Administration Guide: Solaris Containers-Resource Management and Solaris Zones.
The resource control facility adds the following benefits.
Dynamically set
Resource controls can be adjusted while the system is running.
Containment level granularity
Resource controls are arranged in a containment level of project, task, or process. The containment level simplifies the configuration and aligns the collected values closer to the particular project, task, or process.
Threshold preservation
If an attempt is made to set the maximum value less than the actual resource consumption, no change in to the maximum value is made.