Description of problem: get_mem () only returns memory value for linux. Support different platforms so that io-cache, quick-read can have some dynamic benefits.
CHANGE: http://review.gluster.com/2618 (common-utils: Add support for solaris, bsd and mac os/x) merged in master by Vijay Bellur (vijay)