[K12OSN] Tracking usage

Roger roger at efn.org
Wed May 5 20:04:57 UTC 2004

Around Wed,May 05 2004, at 03:36,  Christopher K. Johnson, wrote:
>Roger wrote:
>>I would like to be able to track usage for our LTSP.  I was thinking along 
>>the lines of a .login/.logout script that would toggle a database with 
>>$USERNAME,$HOSTNAME, start-time,stop-time.
>As root the command 'last' shows login times and durations from 
>/var/log/wtmp or file specified with -f so you could use it on rotated 
>log files (e.g. last -f /var/log/wtmp.1).

I'll look at that.  I kind of forgot about that.  I also discovered 
I figure it best to grab the data as it happens rather than parse log 
files later.

roger at efn.org
Taxes, n.:
	Of life's two certainties, the only one for which you can get
an extension.

More information about the K12OSN mailing list