Installation guide

Table 12–1: Accounting Commands and Shell Scripts
Name Type Description
ac
Command Displays connect session records.
acctcms
Command Formats the binary command usage summary files.
acctcom
Command Displays process accounting record summaries from
the default pacct database file or a specified file.
acctcon1
Command Summarizes the records in the wtmp file in ASCII
format.
acctcon2
Command Summarizes the contents of the files formatted by
the acctcon1 command.
acctdisk
Command Performs comprehensive disk usage accounting.
acctdusg
Command Performs disk block usage accounting.
acctmerg
Command Merges accounting record files.
accton
Command Turns on process accounting.
acctprc1
Command Displays records of acct type structure by user
identification number and login name.
acctprc2
Command Displays records of acct type structure by user
identification number and full name.
acctwtmp
Command Writes records to the /var/adm/wtmp file.
chargefee
Script Writes a charge-fee record to the /var/adm/fee
database file.
ckpacct
Script Checks the size of the /var/adm/pacct active
binary process accounting file to ensure that it is
not too large.
diskusg
Command Performs disk accounting according to user
identification number.
dodisk
Script Writes daily disk usage accounting records to the
/var/adm/nite/dacct disk usage accounting
database file.
fwtmp
Command Displays the /var/adm/wtmp binary file records in
ASCII format, allowing you to fix errors.
last
Command Displays login information.
lastcomm
Command Displays information about commands that were
executed.
lastlogin
Script Writes the date of the last login for all users to the
/var/adm/acct/sum/loginlog file.
monacct
Script Creates monthly summary accounting report files.
Administering the System Accounting Services 12–3