Installation guide

If you do not specify any command options, the default output includes the
following information in a column heading format:
Time and date that accounting was enabled
Command name
User name
tty name
Process start time
Process end time
Real seconds
CPU seconds
Mean memory size (in kilobytes)
Refer to the acctcom
(8) reference page for information on the command
options.
The following is an example of the default process accounting summary
output:
# /usr/bin/acctcom /var/adm/pacct1
ACCOUNTING RECORDS FROM: Mon Jan 17 02:00:00 1994
COMMAND START END REAL CPU MEAN
NAME USER TTYNAME TIME TIME (SECS) (SECS) SIZE(K)
#sa root ttyp1 11:59:00 11:59:00 0.77 0.01 0.00
ls root ttyp1 11:59:04 11:59:04 0.11 0.01 0.00
uugetty root ? 11:58:39 11:59:48 69.53 0.01 0.00
#ls root ttyp1 11:59:55 11:59:55 0.30 0.01 0.00
uugetty root ? 11:59:49 12:00:58 69.48 0.01 0.00
cp adm ? 12:05:01 12:05:01 0.33 0.01 0.00
chmod adm ? 12:05:01 12:05:01 0.27 0.01 0.00
#df adm ? 12:05:02 12:05:02 0.38 0.01 0.00
awk adm ? 12:05:02 12:05:02 0.58 0.01 0.00
sed adm ? 12:05:02 12:05:02 0.56 0.01 0.00
12.5.5 The sa Command
The sa command summarizes process accounting information. This
command helps you to manage the large volume of accounting information.
The files produced by the sa command include all the available process
accounting information. The sa command has the following syntax:
/usr/sbin/sa
[ options...] [ filename]
The
filename
variable specifies a process accounting file with the acct.h
header file structure. If the
filename
variable is not specified, the
/var/adm/pacct file is used.
Administering the System Accounting Services 12–25