HP-UX Reference (11i v2 04/09) - 4 File Formats (vol 8)
a
acct(4) acct(4)
WARNINGS
The ac_mem value for a short-lived command gives little information about the actual size of the com-
mand because ac_mem can be incremented while a different command (such as the shell) is being exe-
cuted by the process.
Kernel internal structures may change from release to release without warning. Applications directly
relying on these structures are not supported.
Accounting files are currently written in 32-bit format. Thus, 64-bit applications which read the files
need to make special provisions. In particular, the
acct.h header declares the ac_btime field as
int32_t rather than a time_t in 64-bit compilations. The
ac_btime field should be cast to
time_t in the application before using it (for example, in calls to date conversion functions). The
accounting file format will be changed to a 64-bit layout at a future release.
SEE ALSO
acct(2), acct(1M), acctcom(1M), exec(2), fork(2).
STANDARDS CONFORMANCE
acct: SVID2, SVID3, XPG2
HP-UX 11i Version 2: September 2004 − 2 − Hewlett-Packard Company Section 4−−17