Accounting records
There are multiple types of records produced by Advanced Accounting.
Accounting records produced by Advanced Accounting are defined in the sys/aacct.h file. The following table describes these records.
Accounting record | Description |
---|---|
Pad record (type 0) | This record does not provide any meaningful accounting data. Report and analysis tools should skip this record. It is generated for alignment purposes only. |
Process record (type 1) | This record is written when a process exits,
when a process is reclassified (setUser ID(), chproj(), exec())
and when the system is reclassified. This record is written by the
process interval. This record contains the following information:
The process start time and Process ID can be used to correlate interval records for a particular process. The exit flag can be used to distinguish between interval and exit records. |
Aggregated process record (type 2) | This record is derived from the process record.
A different record is produced for each user by project. This record
is produced by the process interval and contains the following information:
|
Aggregated application record (type 3) | This record is derived from the process record.
Records are produced at the user, project, and application level.
This record is similar to the aggregated process record, except that
the application is named. This record is produced when the process
is classified with an application specific rule, which is supported
only through the Admin policy. This record is produced by the process
interval and contains the following information:
|
Processor and memory use record (type 4) | This record provides information about the use
of processors and when the size of the large page pool changes. This
record is also generated during pre-migration and post-migration and
by the system interval. This record contains the following information:
|
Policy record (type 5) | This record is written when a policy file is
loaded or unloaded. It is provided for informational purposes only. This
record contains the following information:
|
File system activity record (type 6) | This record describes the use of file systems
at the system level. A separate record is generated for each mounted
file system. This record is produced by the system interval and
has the following information:
|
Network interface I/O record (type 7) | This record provides information about the use
of network interfaces at the system level. This record is produced
by the system interval and contains the following information:
|
Disk I/O record (type 8) | This record provides information about the use
of disks at the system level. A separate record is written for each
logical disk device. This record is produced by the system interval
and contains the following information:
|
Lost data record (type 9) | This record provides information about accounting
records that were deleted because Advanced Accounting did not have
the ability to record them. This occurs when all of the accounting
data files are full. When the ability to write new accounting records
is restored, Advanced Accounting produces the lost data record describing
the outage. This record contains the following information:
|
Server VIO record (type 10) | This record is produced in hosting partitions.
A separate record is produced for each logical device that is shared
with a client partition. The system interval can be used to periodically
produce this record. This record contains the following information:
|
Client VIO record (type 11) | This record is produced in client partitions.
It describes the use of virtual devices in client partitions. A separate
record is recorded for each instance of a virtual device. The system
interval may be used to periodically produce this record. This
record contains the following information:
|
Third-party kernel extension common aggregation record (type 12) | This record provides accounting information
for the named accounting record. It is derived from aggregated accounting
records that are produced by third-party kernel extensions. This record
is written to Advanced Accounting by the system interval. This
record contains the following information:
|
ARM application environment record (type 13) | This record describes an application environment
instance. It is created from data that is passed to the operating
system through the arm_register_application() system call and
the arm_start_application() system call. This record is variable
in length. All offsets are calculated relative to the start of the
record. This record contains the following information:
The operating system attempts to record the content of the application environment in each accounting data file, so that each accounting data file can be post-processed as a stand-alone item. This is designed to eliminate the dependency between accounting data files. |
ARM transaction environment record (type 14) | This record describes a transaction environment
instance. It is created from data that is passed to the operating
system through the arm_register_transaction() system call.
This record is variable in length. All offsets are calculated relative
to the start of the record. This record contains the following
information:
The operating system attempts to record the content of the transaction environment in each accounting data file (not guaranteed), so that each accounting data file can be post-processed as a stand-alone item. This is designed to eliminate the dependency between accounting data files. |
ARM transaction instance record (type 15) | This record describes an ARM transaction instance.
It is created from data that is passed to the operating system through
the arm_start_transaction() and the arm_stop_transaction() system
calls. It is variable in length. All offsets are calculated relative
to the start of the record. This record contains the following
information:
The application and transaction environment identifiers are defined respectively in the application and transaction environment records. These records must be used to associate application names, application groups, transaction names, and properties with the transaction instance. |
ARM aggregated transaction instance record (type 16) | This record is produced instead of the ARM transaction
instance record (type 15), when aggregation is enabled for ARM transactions. This
record contains the following information:
|
Project definition record (type 17) | This record provides a list of project definitions.
It is written when the project definition file is loaded. Multiple
records may be needed to record all project definitions. This record
is used to provide the full set of project information in each data
file, so that data files may be treated as stand-alone entities. This
may not be required by the billing application, depending on the nature
of the billing application. This feature may be disabled by disabling
the project definition accounting record. This record is variable
in length and contains the following information:
|
WPAR process record (type 33) | This record is produced only when WPAR accounting
is enabled on Global WPAR. This record is written when a process in
an Application WPAR exits, when a process is reclassified (setUser
ID(), chproj(), exec()) and when the system is reclassified.
This record is written by the process interval. This record contains
the following information:
The process start time and Process ID can be used to correlate interval records for a particular process. The exit flag can be used to distinguish between interval and exit records. |
WPAR aggregated process record (type 34) | This record is produced only when WPAR accounting
is enabled on Global WPAR. This record is derived from the WPAR process
record of an Application WPAR. A different record is produced for
each user by project. This record is produced by the process interval
and contains the following information:
|
WPAR aggregated application record (type 35) | This record is produced only when WPAR accounting
is enabled on Global WPAR. This record is derived from the WPAR process
record of an Application WPAR. Records are produced at the user, project,
and application level. This record is similar to the aggregated process
record, except that the application is named. This record is produced
when the process is classified with an application specific rule,
which is supported only through the Admin policy. This record is
produced by the process interval and contains the following information:
|
WPAR processor and memory use record (type 36) | This record is produced only when WPAR accounting
is enabled on Global WPAR. This record provides information about
the use of processors by System/Application WPAR and when the size
of the large page pool changes. This record is also generated during
pre-migration and post-migration and by the system interval. This
record contains the following information:
|
WPAR file system activity record (type 38) | This record is produced only when WPAR accounting
is enabled on Global WPAR. This record describes the use of file systems
specific to a System/Application WPAR at the system level. A separate
record is generated for each mounted file system. This record is
produced by the system interval and has the following information:
|
WPAR network interface I/O record (type 39) | This record is produced only when WPAR accounting
is enabled on Global WPAR. This record provides information about
the use of network interfaces by a system/Application WPAR at the
system level. This record is produced by the system interval and
contains the following information:
|
WPAR third-party kernel extension common aggregation record (type 44) | This record is produced only when WPAR accounting
is enabled on Global WPAR. This record provides accounting information
for the named accounting record. It is derived from aggregated accounting
records of an Application WPAR that are produced by third-party kernel
extensions. This record is written to Advanced Accounting by the system
interval. This record contains the following information:
|