Monitoring storage performance
In this recipe, we'll look at the following metrics:
disk.all.read
disk.all.write
disk.all.read_bytes
disk.all.write_bytes
How to do it…
Let's create a text and graphical representation of the performance data through the following steps:
- Display live data for the preceding metrics; you can use the following command for this:
~]# pmdumptext -H -t 1 -i -l disk.all.read disk.all.write disk.all.read_bytes disk.all.write_bytes -h guest.example.com
- Next, create a configuration file for
pmchart
to display live data calleddisk.conf
with the following contents:#kmchart version 1 chart style stacking plot color #ffff00 metric mem.util.used plot color #ee82ee metric mem.util.free chart style stacking plot color #ffff00 metric swap.used plot color #0000ff metric swap.free chart style plot antialiasing off plot color #19ff00 metric swap.pagesin plot color #ff0004 metric swap.pagesout
- Now, use
pmchart
to plot...