add memory utility on Linux