accton(8)

accton8

Enable/disable system accounting

Usage

accton [acctfile]

Overview

The accton utility is used for switching system accounting on or off. If called with the argument acctfile, system accounting is enabled. The acctfile specified must exist prior to starting system accounting, or accton will return an error. A record of every process that is started by the execve(2) system call and then later exits the system is stored in acctfile. The sa(8) command may be used to examine the accounting records. If no arguments are given, system accounting is disabled.

Files

/var/account/acct

default accounting file

Releases

163 releases since Mac OS X 10.0; the text changed 3 times.

  1. 10.0–10.1.5
  2. 10.2–10.5.8
  3. 10.6–12.5
  4. 13.0–26.5

From system_cmds 1042.120.1 in macOS 26.5. Parsed by carta from the page's mdoc source.