suricata: add function to get memory info

This new function report the swap usage.
rules: display memory info

Display the status of memory. This is using swap usage to determine
if we have some memory pressure issue.