htop, an interactive process viewer for Linux, it is a good alternative to top command. When you run htop, it will show you your usage per CPU, as well as a text graph of your memory and swap usage right at the top, all in a colored interface.
To install htop use the following command:
– Ubuntu/ LinuxMint and Debian
sudo apt-get install htop
– Fedora and other rpm based
yum install htop
Once installed, type htop in terminal