Monitoring RAM performance
To monitor RAM performance, I am only interested in a couple of metrics, not all the memory-related ones. Take a look at this list:
mem.util.used
mem.util.free
mem.util.bufmem
mem.util.cached
swap.free
swap.used
swap.pagesin
swap.pagesout
How to do it…
This recipe will explain you how to create text-based and graphical outputs:
First, display live data for the preceding metrics through this command:
~]# pmdumptext -H -t 1 -i -l mem.util.used mem.util.free mem.util.bufmem mem.util.cached swap.free swap.used swap.pagesin swap.pagesout -h guest.example.com
Create a configuration file for
pmchart
to display live data calledmemory.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...