Usage:
Usage: accheckOptions: -file explicitly scan this file. -usage prints this message -netid= only print records for this netid -ip= only prints when the user was assigned this ip address -server=<server> only print records on a particular term server -tty=<tty> only print records for a particular tty (ignored unless server is set.) -printall show values for records we don't handle yet -nowarn silently ignore options we don't handle -start mm/dd/yy start time/date -end mm/dd/yy end time/date No options at all will just scan yesterday's info.
An example output from the progam:
So, how does this work?
Session 3 Netid: myuser Location: server tty8 Caller ID: 2175552985 Session start: Tue Sep 15 23:50:45 CDT 1998 Session end: Tue Sep 15 23:50:47 CDT 1998 Session length: 2 Service: ppp IP Address: 130.126.25.172 Bytes in: 281 Bytes out: 194 Packets in: 7 Packets out: 7 Session 4 Netid: seconduser Location: server tty8 Caller ID: 2175553985 Session start: Tue Sep 15 23:50:47 CDT 1998 Session end: Tue Sep 15 23:52:44 CDT 1998 Session length: 117 Service: ppp IP Address: 130.126.25.172 Bytes in: 1770 Bytes out: 534 Packets in: 37 Packets out: 24