acctprc1, acctprc2, accton(8,C) acctprc1, acctprc2, accton(8,C) ------------------------------------------------------------------------------- acctprc1, acctprc2, accton PURPOSE Performs process accounting. SYNTAX +--------+ /usr/lib/acct/acctprc1 ---| |---| +- file -+ /usr/lib/acct/acctprc2 ---| +--------+ /usr/lib/acct/accton ---| |---| +- file -+ DESCRIPTION acctprc1 The acctprc1 command reads records from standard input that are in the acct format (described in AIX Operating System Technical Reference), adds the login names that correspond to user IDs, and then writes an ASCII record to standard output. This record contains the user ID, login name, prime CPU time, nonprime CPU time, the total number of characters transferred (in 512-byte units), the total number of blocks read and written, and mean memory size (in 64-byte units) for each process. If specified, file contains a list of login sessions in ctmp format (described in AIX Operating System Technical Reference), sorted by user ID and login name. By default, acctprc1 gets login names from the password file, /etc/passwd. The information in file helps distinguish among different login names that share the same user ID. acctprc2 The acctprc2 command reads (from standard input) the records written by acctprc1, summarizes them by user ID and name, and writes the sorted summaries to standard output as total accounting records. accton The accton command without arguments turns process accounting off. If you specify file (the name of an existing file), the kernel adds process accounting records to it (/usr/adm/pacct by convention). Processed Nov. 8, 1990 acctprc1, acctprc2, accton(8,C) 1 acctprc1, acctprc2, accton(8,C) acctprc1, acctprc2, accton(8,C) FILES /etc/passwd Password file; contains user IDs. /usr/adm/pacct Contains process accounting records. RELATED INFORMATION See the following commands: "acct/*," "acctdisk, acctdusg," "acctcms," "acctcom," "acctcon1, acctcon2," "acctmerg," "fwtmp, wtmpfix, acctwtmp," and "runacct." See the acct system call and the acct and utmp files in AIX Operating System Technical Reference. See "Running System Accounting" in Managing the AIX Operating System. Processed Nov. 8, 1990 acctprc1, acctprc2, accton(8,C) 2