Just if you are interested:
There is a systemvalue called swappiness. The lower the value, the lower the utilization of swap.
If set to 0, swap is disabled, but is not recomended. Default value is 60.
@mark_nl there is a memory plugin for cgp:
It is not enbaled by default.