acctprc(8) CLIX acctprc(8)
NAME
acctprc - Performs process accounting
SYNOPSIS
/usr/lib/acct/acctprc [ctmp]
FLAGS
ctmp Is a temporary file that the runacct shell script uses. If used
with the acctprc command, it is to contain a list of login sessions
in the form described in acctcon(8), sorted by user ID and login
name.
DESCRIPTION
The acctprc command reads input in acct format and inserts the login names
corresponding to the user ID, then summarizes (by user ID and name) and
writes to stdout in the tacct structure format (see acct(4)). If ctmp is
given, it is to contain a list of login sessions in the form created by
the acctcon command, sorted by user ID and login name. If ctmp is not
given, acctprc obtains login names from the /etc/passwd file. The
information in ctmp distinguishes different login names that share the
same user ID.
EXAMPLES
This example shows how the command is typically used. The acctprc command
receives the contents of the /usr/adm/pacct file from ctmp. After
processing, the output is given to ptacct.
acctprc ctmp </usr/adm/pacct >ptacct
FILES
/etc/passwd User account information.
DIAGNOSTICS
The error messages are designed to be self-explanatory.
EXIT VALUES
The exit values for this command are not meaningful.
RELATED INFORMATION
Commands: acct(8), acctcms(8), acctcon(8), acctmerg(8), acctsh(8),
fwtmp(8), runacct(8), acctcom(8), cron(8)
2/94 - Intergraph Corporation 1
acctprc(8) CLIX acctprc(8)
Functions: acct(2)
Files: acct(4), utmp(4)
2 Intergraph Corporation - 2/94