Show Password


BSD 2.11 - man page for ac (bsd section 8)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

AC(8)											    AC(8)

       ac - login accounting

       /usr/sbin/ac [ -w wtmp ] [ -p ] [ -d ] [ people ] ...

       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  print-
       out to only the specified login names.  If no wtmp file is given, /usr/adm/wtmp is used.

       The  accounting file /usr/adm/wtmp is maintained by init and login.  Neither of these pro-
       grams 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.


       init(8), sa(8), login(1), utmp(5).

4th Berkeley Distribution		November 16, 1996				    AC(8)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 01:04 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.