Example vmstat plotting tool output


vmstat Report for file: iozone_random.log


Introduction

This report plots the vmstat output contained in file: iozone_random.log. Vmstat was run in VM mode with time stamps enable (-t). This script takes the vmstat output and creates a series of plots and a html report for you. Below are hyperlinks to various plots within the report.


  1. Processes waiting on run time and in uniterruptible sleep
  2. Memory usage with the buffer/cache
  3. Memory Swap per second
  4. IO blocks per second
  5. System metrics
  6. CPU metrics


Processes waiting on run time and in uniterruptible sleep

This figure plots the number of processes waiting for run time and the number of processes in uninterruptible sleep. For this case the data is plotted versus time.
sleeping_anduniterruptible_processes

Figure 1 – Processes waiting on run time and in uniterruptible sleep


Memory usage with the buffer/cache

This figure plots the memory usage. It plots the the amount of virtual memory (in MB) and the amount of idle or free memory (in MB). It also plots the amount of memory used for buffers (in MB) and the amount of memory used as cache (in MB). For this case the data is plotted versus time.
Memory_usage


Figure 2 – Memory Usage with Buffer and Cache



Rate of memory swapped in/out from disk (MB/s)

This figure plots the rate of memory swap in MB/s both into and from disk. For this case the data is plotted versus time.
si_and_so_output-vmstat_plotting


Figure 3 – Rate of memory swap both in and out from disk (MB/s)



Rate of blocks received/sent to block device

This figure plots the rate of blocks received and sent to a block device (blocks/s). For this case the data is plotted versus time.
IO_plots


Figure 4 – Rate of blocks received/sent to block devices


System metrics per second

This figure plots the system metrics of interrupts and and context switches per second. For this case the data is plotted versus time.
inter_plus_context_switches-vmstat_plotting


Figure 5 – System metrics





CPU metrics (percent time)

This figure plots the CPU metrics as percent CPU time. It plots percent CPU time running non-kernel code (user + nice), the percent CPU time running kernel time, the percent CPU time spent waiting for IO, and the percent CPU time stolen from a virtual machine. For this case the data is plotted versus time.
CPU_plots


Figure 6 – Percent CPU Time for CPU metrics


One Response to Example vmstat plotting tool output

  1. Pingback: vmstat_plotter | clusterbuffer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: