Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ acct(F) — Xenix 2.3.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acct(C)

acctcom(C)

acct(S)



     ACCT(F)                  XENIX System V                   ACCT(F)



     Name
          acct - Format of per-process accounting file.

     Description
          Files produced as a result of calling acct(S) have records
          in the form defined by <sys/acct.h>.

          In ac_flag, the AFORK flag is turned on by each fork(S) and
          turned off by an exec(S).  The ac_comm field is inherited
          from the parent process and is reset by any exec.  Each time
          the system charges the process with a clock tick, it also
          adds the current process size to ac_mem computed as follows:

               (data size) + (text size) / (number of in-core
               processes using text)

          The value of ac_mem/ac_stime can be viewed as an
          approximation to the mean process size, as modified by
          text-sharing.

     See Also
          acct(C), acctcom(C), acct(S)

     Notes
          The ac_mem value for a short-lived command gives little
          information about the actual size of the command, because
          ac_mem may be incremented while a different command (e.g.,
          the shell) is being executed by the process.



























     Page 1                                           (printed 8/7/87)



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