oracle home
Resource Management and Oracle
®
Solaris Zones Developer's Guide
Exit Print View
Search Term
Search Scope:
This Document
Entire Library
» ...
Documentation Home
»
Oracle Solaris 11.2 Information Library
»
Resource Management and Oracle
®
...
»
Resource Controls
»
Resource Control Code Examples
Updated: July 2014
Resource Management and Oracle
®
Solaris Zones Developer's Guide
Document Information
Using This Documentation
Product Documentation Library
Access to Oracle Support
Feedback
Chapter 1 Resource Management in the Oracle Solaris Operating System
Understanding Resource Management in the Oracle Solaris Operating System
Workload Organization
Resource Organization
Resource Controls
Extended Accounting Facility
Writing Resource Management Applications
Chapter 2 Projects and Tasks
Overview of Projects and Tasks
/etc/project File
Project and Task API Functions
Code Examples for Accessing project Database Entries
Programming Issues Associated With Projects and Tasks
Chapter 3 Using the C Interface to Extended Accounting
Overview of the C Interface to Extended Accounting
Extended Accounting API Functions
exacct System Calls
Operations on the exacct File
Operations on exacct Objects
Memory Management
Miscellaneous Operations
C Code Examples for Accessing exacct Files
Programming Issues With exacct Files
Chapter 4 Using the Perl Interface to Extended Accounting
Extended Accounting Overview
Perl Interface to libexacct
Object Model
Benefits of Using the Perl Interface to libexacct
Perl Double-Typed Scalars
Perl Modules
Sun::Solaris::Project Module
Sun::Solaris::Project Constants
Sun::Solaris::Project Functions, Class Methods, and Object Methods
Sun::Solaris::Project Exports
Sun::Solaris::Task Module
Sun::Solaris::Task Constants
Sun::Solaris::Task Functions, Class Methods, and Object Methods
Sun::Solaris::Task Exports
Sun::Solaris::Exacct Module
Sun::Solaris::Exacct Constants
Sun::Solaris::Exacct Functions, Class Methods, and Object Methods
Sun::Solaris::Exacct Exports
Sun::Solaris::Exacct::Catalog Module
Sun::Solaris::Exacct::Catalog Constants
Sun::Solaris::Exacct::Catalog Functions, Class Methods, and Object Methods
Sun::Solaris::Exacct::Catalog Exports
Sun::Solaris::Exacct::File Module
Sun::Solaris::Exacct::File Constants
Sun::Solaris::Exacct::File Functions, Class Methods, and Object Methods
Sun::Solaris::Exacct::File Exports
Sun::Solaris::Exacct::Object Module
Sun::Solaris::Exacct::Object Constants
Sun::Solaris::Exacct::Object Functions, Class Methods, and Object Methods
Sun::Solaris::Exacct::Object Exports
Sun::Solaris::Exacct::Object::Item Module
Sun::Solaris::Exacct::Object::Item Constants
Sun::Solaris::Exacct::Object::Item Functions, Class Methods, and Object Methods
Sun::Solaris::Exacct::Object::Item Exports
Sun::Solaris::Exacct::Object::Group Module
Sun::Solaris::Exacct::Object::Group Constants
Sun::Solaris::Exacct::Object::Group Functions, Class Methods, and Object Methods
Sun::Solaris::Exacct::Object::Group Exports
Sun::Solaris::Exacct::Object::_Array Module
Sun::Solaris::Exacct::Object::_Array Constants
Sun::Solaris::Exacct::Object::_Array Functions, Class Methods, and Object Methods
Sun::Solaris::Exacct::Object::_Array Exports
Perl Code Examples
Output From dump Method
Chapter 5 Resource Controls
Overview of Resource Controls
Resource Controls Flags and Actions
rlimit, Resource Limit
rctl, Resource Control
Resource Control Values and Privilege Levels
Local Actions and Local Flags
Global Actions and Global Flags
Resource Control Sets Associated With a Zone, Project, Processes, and Tasks
Resource Controls Associated With a Project
Resource Controls Associated With Tasks
Resource Controls Associated With Processes
Zone-Wide Resource Controls
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 Using Resource Control Blocks
Programming Issues Associated With Resource Controls
zonestat Utility for Monitoring Zones Resource Usage
Chapter 6 Resource Pools
Overview of Resource Pools
Scheduling Class
Dynamic Resource Pool Constraints and Objectives
System Properties
Pools Properties
Processor Set Properties
Using libpool to Manipulate Pool Configurations
Manipulate psets
Resource Pools API Functions
Functions for Operating on Resource Pools and Associated Elements
Functions for Querying Resource Pools and Associated Elements
Resource Pool Code Examples
Ascertain the Number of CPUs in the Resource Pool
List All Resource Pools
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
Chapter 7 Design Considerations for Resource Management Applications in Oracle Solaris Zones
Oracle Solaris Zones Overview
IP Networking in Oracle Solaris Zones
About Applications in Oracle Solaris Zones
General Considerations When Writing Applications for Non-Global Zones
Specific Considerations for Oracle Solaris 10 Non-Global Zones
Specific Considerations for Shared-IP Non-Global Zones
Packaging Considerations in solaris Zones
API for Zones Monitoring Statistics
Monitoring Zone File System Activity
Oracle Solaris 10 Zones
Oracle Solaris Kernel Zones
Chapter 8 Configuration Examples
/etc/project Project File
Define Two Projects
Configure Resource Controls
Configure Resource Pools
Configure FSS project.cpu-shares for a Project
Configure Five Applications with Different Characteristics
Index
Index B
Index E
Index F
Index L
Index O
Index P
Index R
Index S
Index Z
Language:
English
Resource Control Code Examples
Previous
Next