Connect-time reports
Accounting records include login, logout, system-shutdown, and lastlogin records.
The runacct command calls two commands, acctcon1 and acctcon2, to process the login, logout, and system-shutdown records that collect in the /var/adm/wtmp file. The acctcon1 command converts these records into session records and writes them to the /var/adm/acct/nite(x)/lineuse file. The acctcon2 command then converts the session records into a total accounting record, /var/adm/logacct, that the acctmerg command adds to daily reports. For information about these commands, see runacct, acctcon1, and acctcon2.
If you run the acctcon1 command from the command line, you must include the -l flag to produce the line-use report, /var/adm/acct/nite(x)/lineuse. To produce an overall session report for the accounting period, /var/adm/acct/nite(x)/reboots, use the acctcon1 command with the -o flag.
The lastlogin command produces a report that gives the last date on which each user logged in. For information about the lastlogin command, see lastlogin.