how to see how much memory process is using on linux code example Example: how to check which process is using more memory in linux ps aux --sort=-%mem | head