| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
acThe ac command prints out a report of connect
time (in hours) based on the logins/logouts in the current
wtmp file. A total is also printed out.
The accounting file wtmp is maintained by
init and login. Neither of these
programs creates the file; if the file is not there, no
accounting is done. To begin accounting, create the file with a
length of zero. NOTE: the wtmp file
can get really big, really fast. You might want to trim it every
once and a while.
GNU ac works nearly the same u*x ac,
though it's a little smarter in its printing out of daily
totals--it actually prints every day, rather than
skipping to the date of the next entry in the wtmp
file.
This document was generated on February,
6 2010 using texi2html
1.76.