Linux find the exact memory usage

ps_mem.py.

git clone https://github.com/pixelb/ps_mem.git
cd ps_mem
sudo ./ps_mem.py