Read kernel's "MemAvailable" if possible

Recent kernel versions support "MemAvailable" in /proc/meminfo
which provides more accurate information on the amount of memory
available. therefore we can now deduce:

usedmem = totalmem - MemAvailable;