Some notes on the extra features I have added to autologout ----------------------------------------------------------- autologout you should know about already, but now it also, logs a users total time, in a file /usr/etc/user_times, the #define START_DAILY is when the logging should comence, ie I have it starting at 4pm. It is very basic and simply adds five minutes each time it is run (assuming you run it every five minutes from cron). It is smart enough to know when a user is logged on passed midnight etc. rutime.c reads the user_times file and shows a list of the users the script showtimes then runs this program and sorts it into decending order, and prints some statistics for the day log_line_use.c is meant to be run every five minutes from cron and it writes a text record to /usr/etc/line_use showuse.c reads the /usr/etc/line_use file and displays a histogram of percentage utilisation, its a rough guide to how your lines are being utilised proc_daily_times is a script that moves the current user_times file to a new file, 7 files (ie a week) are kept, I run this one at 23:59