Manual Page Result
0
Command: ac | Section: 8 | Source: UNIX v10 | File: ac.8
AC(8) System Manager's Manual AC(8)
NAME
ac - login accounting
SYNOPSIS
/etc/ac [ option ... ] [ person ... ]
DESCRIPTION
Ac prints the total connect time recorded in the accounting file, If
persons are named, only those login names are considered. The options
are
-w file
Use file instead of means the standard input.
-p Print total connect time for each user.
-d Print totals for each day.
The accounting file is maintained by init and login(8), provided it ex-
ists. To start accounting, create it with length 0. When accounting
is turned on, the file grows without limit. It is prudent periodically
to process the data and truncate the file.
FILES
SEE ALSO
init(8), sa(8), login(8), utmp(5), who(1)
AC(8)