If you find that when you type htop into you command line and it says the command is not found…odds are you do not have htop installed on your server. Here is how you can install it and start using it.
You’ll need to SSH as the root user. You can do this from the system console as well.
First you’ll need to get the repository, so type this and press enter:
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Then you’ll want to install it with yum:
yum install htop
Now htop is installed and you can start using it.