Extended Accounting Overview
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.