In this recipe, we'll look at the following metrics:
disk.all.read
disk.all.write
disk.all.read_bytes
disk.all.write_bytes
Let's create a text and graphical representation of the performance data through the following steps:
~]# pmdumptext -H -t 1 -i -l disk.all.read disk.all.write disk.all.read_bytes disk.all.write_bytes -h guest.example.com
pmchart
to display live data called disk.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
pmchart
to plot a live chart for guest.example.com
, as follows:~]# pmchart -h guest.example.com -c memory.conf