how to check process consuming more memeory in linux code example Example: what process consuming RAM ps -o pid,user,%mem,command ax | sort -b -k3 -r