I had a problem. I have what I thought to be an overloaded pi. When I was doing work remotely I would sometimes lose the connection because too much was running all at the same time. Cutting out a handful of services, like apache web server and mysql, really helped solve my problem.
However I was craving some data on how my system is actually doing during any given time.
So I wrote some python to monitor my CPU, temp, memory, disk I/O, and network traffic. I know there are already a ton of different projects out there that already does this, but I wasn't really happy with the potential implementation and hey, this is a raspberry pi, I should just be doing this myself for the educational factor
I'm using /proc/ kernel files, taking the data from there and then shipping the data out to a google spreadsheet through a google form. It's simple for sure and that's what so pleasing to me. Google provides really nice timeline graphs and effectively free data storage and hosting, so how could I resist that?
The code is nothing glamorous but the end-result is something quite nice for my needs.
If you're looking for something like this, my github project is here:
https://github.com/JoelSlowik/LoadMonitor
further explanation and is here (and results of my efforts with pretty graphs are also here):
http://joelslowik.blogspot.com/2013/01/ ... y-way.html
If you have any suggestions I'd like to hear them.
Cheers.