ac produces a printout giving connect time for each user who has logged in during the life of the current wtmp file. A total is also produced.
The accounting file /var/adm/wtmp is maintained by init.8 and login.1 Neither of these programs creates the file, so if it does not exist no connect-time accounting is done. To start accounting, it should be created with length 0. On the other hand if the file is left undisturbed it will grow without bound, so periodically any information desired should be collected and the file truncated.
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97