manpagez: man pages & more
man ac(8)
Home | html | info | man
ac(8)                     BSD System Manager's Manual                    ac(8)


     ac -- display connect-time accounting


     ac [-d] [-p] [-w file] [users ...]


     A record of individual login and logout times are written to the system
     log by login(8) and launchd(8), respectively.  The program ac examines
     these records and writes the accumulated connect time (in decimal hours)
     for all logins to the standard output.

     Options available:

     -d      Display the connect times in 24 hour chunks.

     -p      Display individual user totals.

     -w file
             Read raw connect time data from file, instead of the system log.

     users ...
             Display totals for the given individuals only.

     If no arguments are given, ac displays the total amount of login time for
     all active accounts on the system.


     login(1), utmpx(5), launchd(8), sa(8)


     An ac command appeared in Version 6 AT&T UNIX.

4th Berkeley Distribution       April 19, 1994       4th Berkeley Distribution

Mac OS X 10.8 - Generated Mon Sep 3 16:17:49 CDT 2012
© 2000-2024
Individual documents may contain additional copyright information.