Skip Navigation Links | |
Exit Print View | |
Resource Management, Oracle Solaris Zones, and Oracle Solaris 10 Zones Developer's Guide Oracle Solaris 11.1 Information Library |
1. Resource Management in the Oracle Solaris Operating System
3. Using the C Interface to Extended Accounting
4. Using the Perl Interface to Extended Accounting
Dynamic Resource Pool Constraints and Objectives
Functions for Operating on Resource Pools and Associated Elements
Functions for Querying Resource Pools and Associated Elements
Ascertain the Number of CPUs in the Resource Pool
Report Pool Statistics for a Given Pool
Set pool.comment Property and Add New Property
Programming Issues Associated With Resource Pools
zonestat Utility for Monitoring Resource Pools in Oracle Solaris Zones
7. Design Considerations for Resource Management Applications in Oracle Solaris Zones
The libpool(3LIB) pool configuration library defines the interface for reading and writing pools configuration files. The library also defines the interface for committing an existing configuration to becoming the running operating system configuration. The <pool.h> header provides type and function declarations for all library services.
The resource pools facility brings together process-bindable resources into a common abstraction that is called a pool. Processor sets and other entities can be configured, grouped, and labelled in a persistent fashion. Workload components can be associated with a subset of a system's total resources. The libpool(3LIB) library provides a C language API for accessing the resource pools facility. The pooladm(1M), poolbind(1M), and poolcfg(1M) make the resource pools facility available through command invocations from a shell.
The following list contains the functions associated with creating or destroying psets and manipulating psets.
Bind an LWP (lightweight process) or set of LWPs to a specified processor.
Assign a processor to a processor set.
Bind one or more LWPs (lightweight processes) to a processor set.
Create an empty processor set that contains no processors.
Destroy a processor set and release the associated constituent processors and processes.
Set or get processor set attributes.