Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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.

share|improve this question

closed as off-topic by MadHatter, Helvick, Jenny D, Ward, Tim Brigham Mar 26 '14 at 19:59

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they tend to become obsolete quickly. Instead, describe your situation and the specific problem you're trying to solve." – MadHatter, Jenny D, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.

That doesn't mean that they're unsuitable for what you're asking for. MRTG is quite easy to set up. – mfinni Mar 26 '14 at 15:59

Think about this... You need some way to track history in order to provide an input to the CLI-generated graphs. This is where something like RRDTool helps.

There are tools like collectl that will collect data and organize it for another graphing utility.

There are pretty solutions like NewRelic that aren't CLI-based, but provide some better insight into system performance...

But I'm old school... I still use Orca for this.

But the graphs are pretty.

enter image description here

share|improve this answer
Indy_Fruit? Pray tell... – MadHatter Mar 26 '14 at 14:16

Any of:

  • rrdtool
  • MRTG
  • Zabbix

will take care of your problem.

share|improve this answer
Other solutions: cacti ? – neutrinus Mar 26 '14 at 14:07
And a lot of others besides. – mfinni Mar 26 '14 at 14:10

Heavens. What's wrong with MRTG? Or, almost any other performance monitoring tool ever?

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.