Wednesday, July 25, 2012

A handy utility to plot vmstat logs

Came across a handy utility to plot vmstat logs - vmplot.sh
Refer -
http://www.bigdbahead.com/?p=302
http://ronaldbradford.com/blog/extending-vmplot-2009-03-31/

The graphs it produces are the following:
  • CPU: graphs idle, user, sys and wait time
  • CS: graphs the context switches/s
  • IN: graphs the interrupts/s
  • IO: graphs the block read and written to disk per second
  • Memory: graphs the memory usage (swapped, free, buffers, cache)
  • Procs: graphs the number of running and blocked processes
  • Swap: graphs swap in and swap out activity