Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ac(8) — bsd — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sa(8)

init(1M)

login(1)

utmp(4)



AC(8-BSD)           RISC/os Reference Manual            AC(8-BSD)



NAME
     ac - login accounting

SYNOPSIS
     /etc/ac [ -w wtmp] [ -p ] [ -d ] [ people] ...

DESCRIPTION
     ac produces a printout giving connect time for each user who
     has logged in during the life of the current wtmp file.  A
     total is also produced.  -w is used to specify an alternate
     wtmp file.  -p prints individual totals; without this
     option, only totals are printed.  -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, /etc/wtmp is used.

     The accounting file /etc/wtmp is maintained by init and
     login. Neither of these programs creates 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 file truncated.

FILES
     /etc/wtmp

SEE ALSO
     sa(8), init(1M).
     login(1) in the User's Reference Manual.
     utmp(4) in the Programmer's Reference Manual.
























                        Printed 11/19/92                   Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026