I would like to periodically (e.g. using cron) generate an image (e.g. png) containing graphs for CPU usage, memory usage, disk I/O load and network usage.
I would like something not too ugly, so a gnuplot
graph is a bit crude, but if that's the only option I'll take it nonetheless.
After half an hour of googling, I just havn't been able to find a simple tool to do that without extensive configuration.
I thought about using conky
and asking it to render to a file instead of showing the graphs on the screen, but I couldn't find such an option for conky
. The only solution I thought of would be to start a dummy Xorg session, let conky run on that, and periodically take screenshots.
I also saw plenty of blog posts etc. about using dstat
or similar tools, but these generated text reports, not graphs.
Is there a command-line tool that is very simple to setup that can generate (pretty) GPU graphs and similar graphs, without requiring extensive configuration from my part?
Something like:
generategraph --cpu --interval 300 --output mygraph.png
Edit:
The problem with the other tools cited so far (rrdtool, mrtg, zabbix, orca) is that they are enterprise-grade software designed for full-time network administrators. I just want something simple that I can run on a small box and set-up within a matter of seconds instead of spending days to configure it.
And I just realized I asked on serverfault instead of superuser like I meant to, so that explains the answers I got :) Thank you all, and sorry for loosing your time, I'm requesting this question to be closed / migrated to superuser.