Annotation of researchv10dc/man/man8/ac.8, revision 1.1.1.1

1.1       root        1: .TH AC 8
                      2: .CT 1 sa_nonmortals
                      3: .SH NAME
                      4: ac \- login accounting
                      5: .SH SYNOPSIS
                      6: .B /etc/ac
                      7: [
                      8: .I option ...
                      9: ]
                     10: [
                     11: .I person ...
                     12: ]
                     13: .SH DESCRIPTION
                     14: .I Ac
                     15: prints the total connect time
                     16: recorded in the accounting file,
                     17: .FR /usr/adm/wtmp .
                     18: If
                     19: .I persons
                     20: are named, only those login names are considered.
                     21: The options are
                     22: .TP
                     23: .BI -w " file"
                     24: Use
                     25: .I file
                     26: instead of 
                     27: .FR /usr/adm/wtmp ;
                     28: .L -
                     29: means the standard input.
                     30: .TP
                     31: .B -p
                     32: Print total connect time for each
                     33: user.
                     34: .TP
                     35: .B -d
                     36: Print totals for each day.
                     37: .PP
                     38: The accounting file
                     39: .F /usr/adm/wtmp
                     40: is maintained by
                     41: .I init 
                     42: and
                     43: .IR login (8),
                     44: provided it exists.
                     45: To start accounting, create it with length 0.
                     46: When accounting is turned on, the file grows without limit.
                     47: It is prudent periodically
                     48: to process the data and truncate the file.
                     49: .SH FILES
                     50: .F /usr/adm/wtmp
                     51: .SH "SEE ALSO"
                     52: .IR init (8), 
                     53: .IR sa (8), 
                     54: .IR login (8), 
                     55: .IR utmp (5), 
                     56: .IR who (1)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.