Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ acctprc(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acct

acctdisk, acctdusg

acctcms

acctcom

acctcon

acctmerg

fwtmp

runacct

acct system call

the acct

utmp

acctprc

PURPOSE

     Performs process accounting.

SYNOPSIS
     /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
     utmp 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 distin-
     guish  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 default).

FILES

     /etc/passwd     Password file; contains user ids.
     /usr/adm/pacct  Contains process accounting records.

RELATED INFORMATION

     The following  commands:  "acct,"   "acctdisk, acctdusg,"
     "acctcms,"  "acctcom,"   "acctcon," "acctmerg,"  "fwtmp,"
     and  "runacct."

     The acct system  call and the acct and utmp  files in AIX
     Operating System Technical Reference.

     "Running System Accounting" in Managing the AIX Operating
     System.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026