Core module to dump memory usage based on pgrep process name matching

Forked from an old project, and some portability work - works under centos, at least.