ac(8)ac(8)Nameac - login accounting
/etc/ac [ -w wtmp ] [ -p ] [ -d ] [ people ] ...
The command produces a printout giving connect time for each user who
has logged in during the life of the current wtmp file. A total is
The accounting file is maintained by and Neither of these programs cre‐
ates 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
Options-w Specifies an alternate wtmp file.
-p Prints individual totals; without this option, only totals are
-d Causes a printout for each midnight to midnight period. Any
people will limit the printout to only the specified login
names. If no wtmp file is given, is used.
FilesSee Alsolast(1), lastcomm(1), login(1), utmp(5), init(8), sa(8)ac(8)