Saturday, May 25, 2013

Visualize computer usage

Visualize computer usage

I am trying to measure how much I use my laptop per day and if this changes over time. Besides that, I want to visualize my usage in a 'diurnal' plot (I think that's how you'd call it).
I tried reading several log files, which gives a good estimate of my usage:
/var/log/auth.log
/var/log/kern.log
/var/log/syslog
/var/log/Consolekit/history
However, I hoped there would be a more straightforward log file (or command) which just gives me all the timestamps at which i login/logout and suspend/wakeup. I think last should do this, but last doesn't seems to log suspend/wakeup wich I use very often.
Question: is there a logfile of command in Ubuntu which gives a straightforward overview of all login/logout and suspend/wakeup?
OS: Ubuntu 13.04 64-bit
The software I use to analyze the data is Wolfram Mathematica.

No comments:

Post a Comment