Now that I would like to monitor resources on Oracle Linux for this blog host, I wanted to install htop. top does its job but I prefer htop. htop has more features I would like to utilize.
First add the yum repo that has htop.
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
And then install htop.
sudo yum install htop
So here is what it looks like.

From what I see, I guess there are 2 cores in one CPU and memory is 687 MB though the OCI UI says 1 GB. That said, this site is running OK without resource contention.
Hi there,
htop is actually present in the Oracle Linux repos; it’s just in a repo that is disabled by default as it is not considered “officially supported” by Oracle.
These steps worked for me on Oracle Linux 8:
– As root, open /etc/yum.repos.d/oracle-epel-ol8.repo in your preferred text editor
– Change “enabled=0” to “enabled=1”
– Run yum update
– Run yum install htop
Here are the list of packages that are available to Oracle Linux: https://yum.oracle.com/oracle-linux-8.html
Ohhh that’s good know. Thanks for the info Marcus! 🙂