Query: ac
OS: bsd
Section: 8
Links: bsd man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
AC(8) System Manager's Manual AC(8)NAMEac - login accountingSYNOPSIS/usr/sbin/ac [ -w wtmp ] [ -p ] [ -d ] [ people ] ...DESCRIPTIONAc 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 pro- duced. -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, /usr/adm/wtmp is used. The accounting file /usr/adm/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 undis- turbed it will grow without bound, so periodically any information desired should be collected and the file truncated.FILES/usr/adm/wtmpSEE ALSOinit(8), sa(8), login(1), utmp(5). 4th Berkeley Distribution November 16, 1996 AC(8)
Related Man Pages |
---|
ac(1) - debian |
wcat(1) - debian |
utmpset(8) - debian |
ac(1) - linux |
utmpset(8) - centos |
Similar Topics in the Unix Linux Community |
---|
Logs |
.sh_history file |
get all user's login time |
Unix Shell background processing |
Not enough information... |