vmstat_plotter

Scratching that vmstat plotting itch


I’ve been working on an article around vmstat-like tools and I started looking for ways to plot the data. There are some reasonable articles on using something like awk and gnuplot to create plots but I wanted something a little more self-contained that would produce a quick report with all of the data plotted. I did see one tool that was on-line only (you had to upload your data) but that was too much of a pain to use, so in true Clusterbuffer fashion I wrote my own.

It’s not a sophisticated tool by any stretch – it’s just some Python code to parse the data and plot it using matplotlib. Go to this page to read more about it and scroll down to the bottom to download the code. You can also see a simple example here.

Please read through the write-up since there are some limitations to the code that require vmstat to be run with certain flags. There are also vmstat options that it can’t plot because the output is not time dependent.

Enjoy!

Hello world! I am Clusterbuffer!

I’ve been working with and writing about clusters for a number of years. I’ve built my own systems (and continue to do so much to my wife’s chagrin), I’ve been an admin, an application developer, a user, a systems developer, and I’ve been on the vendor side of the house as well. So it just seemed natural to start my own site about clusters, where I can post my articles, papers, ideas, blogs, code, benchmarks, and pretty much anything else around clusters.