1AC(1M) AC(1M)
2
3
4
6 ac - login accounting
7
9 ac [ -w wtmp ] [ -p ] [ -d ] [ people ] ...
10
12 Ac produces a printout giving connect time for each user who has logged
13 in during the life of the current wtmp file. A total is also produced.
14 -w is used to specify an alternate wtmp file. -p prints individual
15 totals; without this option, only totals are printed. -d causes a
16 printout for each midnight to midnight period. Any people will limit
17 the printout to only the specified login names. If no wtmp file is
18 given, /usr/adm/wtmp is used.
19
20 The accounting file /usr/adm/wtmp is maintained by init and login.
21 Neither of these programs creates the file, so if it does not exist no
22 connect-time accounting is done. To start accounting, it should be
23 created with length 0. On the other hand if the file is left undisā
24 turbed it will grow without bound, so periodically any information
25 desired should be collected and the file truncated.
26
28 /usr/adm/wtmp
29
31 init(8), login(1), utmp(5).
32
33
34
35 AC(1M)