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
Benefits of Using the Perl Interface to libexacct
Sun::Solaris::Project Constants
Sun::Solaris::Project Functions, Class Methods, and Object Methods
Sun::Solaris::Task Functions, Class Methods, and Object Methods
Sun::Solaris::Exacct Constants
Sun::Solaris::Exacct Functions, Class Methods, and Object Methods
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
7. Design Considerations for Resource Management Applications in Solaris Zones
The exacct is a new accounting framework for the Solaris operating system provides additional functionality to that provided by the traditional SVR4 accounting mechanism. Traditional SVR4 accounting has these drawbacks:
The data collected by SVR4 accounting cannot be modified.
The type or quantity of statistics SVR4 accounting gathers cannot be customized for each application. Changes to the data SVR4 accounting collects would not work with all of the existing applications that use the accounting files.
The SVR4 accounting mechanism is not open.
Applications cannot embed their own data in the system accounting data stream.
The SVR4 accounting mechanism has no aggregation facilities.
The Solaris Operating system writes an individual record for each process that exists. No facilities are provided for grouping sets of accounting records into higher-level aggregates.
The exacct framework addresses the limitations of SVR4 accounting and provides a configurable, open, and extensible framework for the collection of accounting data.
The data that is collected can be configured using the exacct API.
Applications can either embed their own data inside the system accounting files, or create and manipulate their own custom accounting files.
The lack of data aggregation facilities in the traditional accounting mechanism are addressed by tasks and projects. Tasks identify a set of processes that are to be considered as a unit of work. Projects allow the processes executed by a set of users to be aggregated into a higher-level entity. See theproject(4) man page for more details about tasks and projects.
For a more extensive overview of extended accounting, see Chapter 4, Extended Accounting (Overview), in System Administration Guide: Solaris Containers-Resource Management and Solaris Zones.