Its Hard to find which process using more Memory and we will get that in memory (RAM) in human readble format (kilobytes/KB). This is just in initial stage will add more to it.
#Usage
Clone the GitHub repository:
$ git clone https://github.com/iemkamran/system-monitor.git
Make the file in executable fromat.
$chmod x+ system-monitor
Move the shell script to any directory in the PATH. I prefer the /usr/bin directory.
$ sudo mv sysmon/sysmon /usr/bin
Now run sysmon as follows:
$ sudo sysmon