prdaily Command

Purpose

Creates an ASCII report of the previous day's accounting data.

Syntax

/usr/sbin/acct/prdaily [ -X ] [  -l ] [ mmdd ] [  -c ]

Description

The prdaily command is called by the runacct command to format an ASCII report of the previous day's accounting data. The report resides in the /var/adm/acct/sum/rprtmmdd file, where mmdd specifies the month and day of the report.

Flags

Item Description
-c Reports exceptional resource usage by command. This flag may be used only on the current day's accounting data.
-l [mmdd] Reports exceptional usage by login ID for the specified date. Use the mmdd variable to specify a date other than the current day.
-X Processes all available characters for each user name instead of truncating to the first 8 characters. This flag will also cause the prdaily command to use the /var/adm/acct/sumx directory instead of the /var/adm/acct/sum directory.

Security

Access Control: This command should grant execute (x) access only to members of the adm group.

Files

Item Description
/usr/sbin/acct The path to the accounting commands.
/usr/sbin/acct/ptelus.awk Calculates the limits for exceptional usage by login ID. This is a shell procedure.
/usr/sbin/acct/ptecms.awk Calculates the limits of exceptional usage by command name. This is a shell procedure.
/var/adm/acct/sum Cumulative directory for daily accounting records.
/var/adm/acct/sumx Cumulative directory for daily accounting records when long user name processing is requested.