Check how much RAM is Linux user using

22.Jan.2020

Replace “root” with any other user on your system and run following command.

ps -U root --no-headers -o rss | awk '{ sum+=$1} END {print int(sum/1024) "MB"}'