calculate memory as total-available to be consistent with percentage on linux