Dstat graph using Vmstax

Generating graphs from dstat log files is now possible using Vmstax. At the origin, Vmstax was created to build graphics from vmstat log files. It is very convenient to monitor the server load during a load test. All you had to do is to capture the log with a command like “vmstat -n 5 > output.log“, then upload the log file into vmstax and finally, export the graphs as images to include them into reports.
Actually, it is not a so good solution to analyze your servers : a lot of things is missing like network traffics, load per cpu, io per disk and others. Mpstat, iostat, ifstat can be used together but this is inconvenient because you have to manage several log ouputs.

Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat. You can configure it with a bunch of options and you can even developp your own plugins for your specific needs. So, you have only one command to monitor what ever you want.

Here is an example of dstat output :

To draw charts from dstat output with Vmstax :

1) First, capture the dstat output : you have to use the output option. It will produce a csv log file that can be uploaded inside Vmstax. Here is an example :

dstat -c -n -N eth0,lo -m -s -d --output dstat.csv

2) Then, start Vmstax, upload the dstat.csv file and export the graphs as png. Pay attention to choose the ‘dstat’ format inside the upload combo box.

Start Vmstax now !

Here is some example graphs :

Limitations : Vmstax is not able to graph all the available options of dstat. If you think one is missing, contact the author and talk about it.

Links :
DStat home page

Share Button


5 Responses to “Dstat graph using Vmstax”

  1. sid on November 7th, 2011 12:47 am

    How do i download vmstax for Dstat? I cannot find the link

  2. Michenux on November 7th, 2011 3:03 pm

    Vmstax is an online tool. Click on “Start Vmstax now !” of this page.

  3. Farouk on May 7th, 2012 5:12 pm

    Great tool you built!

  4. Jon on July 17th, 2012 1:38 pm

    Fabulous tool, thanks very much! Is there a way to increase resolution output?

  5. Confluence: Ask Program Management on August 29th, 2012 3:08 pm

    PollRoll – Load & Performance Testing set up…

    Load and Performance Testing using JMeter JMeter      The Apache JMeter desktop application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance…….

Leave a Reply