I'm looking for a script or a little program that collects information on the current CPU, RAM, swap, GPU, HDD as well as eth0 workloads. Conky is great for keeping an eye on things as such, but what I'd really like to know is which processes are using most of my ressources over a certain period of time (days, weeks, months). I'd also like to see which programs (e.g. Firefox, *torrent, ...) are using up most of my bandwidth and how many GB per month are being loaded to and from my maschine.
The reason why I'd like to know these things is simple: I'm living close enough to campus for a good wireless connection, so I could cancel my broadband subscription which is costing me almost $60 per month. To save electricity I'd also like to get myself a laptop, but I'm not quite sure what sort of system specs I really need.
Just to give you an idea how useful a script/program like this can be, give the following a try:
1) Press Ctrl-H in Firefox and click on 'View' in the top right corner and select 'Most visited'. Great for finding out what sites you shouldn't be visiting that often
2) Open a terminal and enter:
history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort
to see what commands should be given an alias or a place in some automatic script.