Gmem is a program that calculates the available memory on a CentOS 6 box before swapping occurs. It adds the free memory with the page cache and the reclaimable slab.
Usage of ./gmem:
-help=false: display this help text
-u="k": what units to use: k, m, g
-v=false: show version/build information