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
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 Oracle Solaris Zones
Extended accounting (exacct) is an accounting framework for the Oracle Solaris operating system that provides additional functionality to that provided by the traditional SVR4 accounting mechanism. Traditional SVR4 accounting has these drawbacks:
The data collected by traditional accounting cannot be modified.
The type or quantity of statistics SVR4 accounting gathers cannot be customized for each application. Changes to the data traditional 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 traditional accounting mechanism has no aggregation facilities.
The Oracle 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 traditional 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 the project(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 Oracle Solaris 11.1 Administration: Oracle Solaris Zones, Oracle Solaris 10 Zones, and Resource Management.