htop is a simple and wonderful tool to view the current memory usage on a Linux box. The tool is upgraded version of the top command, providing users some interactive menus and even mouse based control of sorting and menu access.
To install htop on your ubuntu system, execute the following command in a console:
sudo apt-get install htop
Run htop via a console.