I am looking for a script/app that will let me know how often laptops are bring used. Our schools have several hundred Ubuntu laptops and I want to record usage data so I can report to our governing board how much their investment in technology is actually being used by students.
I am looking for something to log the Boot/Shutdown and Sleep/Wake events. If there is a local app/service that can create this "uptime" info as a file that would be good enough because I know how to automatically send a file via ftp, but if there is also a service to collect that info from multiple devices that would be even better.
Currently I have written a few hacks to record runtime changes in a log file and then send that log info to a MySQL database, but if there are already some solutions out there I am ready to use someone else's code :)