Installation guide
• /var/adm/acct/nite/daycms
• /var/adm/acct/nite/cms
• /var/adm/acct/sum/loginlog
The prdaily shell script has the following syntax:
prdaily
[-l [ mmdd]] | [-c]
Refer to prdaily(8) for more information on command options.
12.9.5 The monacct Shell Script
The monacct shell script uses the binary accounting files to create
cumulative summary files in the /var/adm/acct/fiscal directory. After
the summary files are produced, the command removes the old accounting
files from the /var/adm/acct/sum directory and creates new files.
Usually, you run the monacct script once each month to produce monthly
report files. You can set up your cron daemon to run the shell script
automatically. Refer to Section 12.2.4 for more information. The monacct
shell script has the following syntax:
/usr/sbin/acct/monacct
[ number]
The
number
variable specifies an integer that is within the range 1 to 12
and that specifies the month for which you want to create the summary
report. The default is the current month.
The monacct shell script creates the following files in the
/var/adm/acct/fiscal directory:
tacct
mm
Specifies the binary total accounting file for the
month preceding the month specified by the
mm
variable.
cms
mm
Specifies the binary cumulative command summary
file for the month preceding the month specified by
the
mm
variable.
fiscrpt
mm
Specifies the ASCII total monthly accounting report
file. This file has a format that is similar to the
/var/adm/acct/sum/rprt
mmdd
report file and is
created from the following files:
• /var/adm/acct/fiscal/tacct
mm
• /var/adm/acct/fiscal/cms
mm
• /var/adm/acct/sum/loginlog
Administering the System Accounting Services 12–41