diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man8/ac.8 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/unix-v10/man8/ac.8')
| -rw-r--r-- | static/unix-v10/man8/ac.8 | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/static/unix-v10/man8/ac.8 b/static/unix-v10/man8/ac.8 new file mode 100644 index 00000000..1048aa19 --- /dev/null +++ b/static/unix-v10/man8/ac.8 @@ -0,0 +1,56 @@ +.TH AC 8 +.CT 1 sa_nonmortals +.SH NAME +ac \- login accounting +.SH SYNOPSIS +.B /etc/ac +[ +.I option ... +] +[ +.I person ... +] +.SH DESCRIPTION +.I Ac +prints the total connect time +recorded in the accounting file, +.FR /usr/adm/wtmp . +If +.I persons +are named, only those login names are considered. +The options are +.TP +.BI -w " file" +Use +.I file +instead of +.FR /usr/adm/wtmp ; +.L - +means the standard input. +.TP +.B -p +Print total connect time for each +user. +.TP +.B -d +Print totals for each day. +.PP +The accounting file +.F /usr/adm/wtmp +is maintained by +.I init +and +.IR login (8), +provided it exists. +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. +.SH FILES +.F /usr/adm/wtmp +.SH "SEE ALSO" +.IR init (8), +.IR sa (8), +.IR login (8), +.IR utmp (5), +.IR who (1) |
