In this tutorial, we will show you how to install CoreFreq on Ubuntu 20.04 LTS. For those of you who didn’t know, CoreFreq is a CPU monitoring software designed for Intel 64-bits Processors and supported architectures are Atom, Core2, Nehalem, SandyBridge, and superior, AMD Family 0F.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the CoreFreq CPU monitoring tool on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.
Prerequisites
- A server running one of the following operating systems: Ubuntu 20.04, 18.04, 16.04, and any other Debian-based distribution like Linux Mint.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for CoreFreq.
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install CoreFreq on Ubuntu 20.04 LTS Focal Fossa
Step 1. First, make sure that all your system packages are up-to-date by running the following apt
commands in the terminal.
sudo apt update sudo apt upgrade sudo apt install build-essential dkms git libpthread-stubs0-dev
Step 2. Installing CoreFreq on Ubuntu 20.04.
Now we clone the code of Corefreq from the GitHub repository using the following command:
git clone https://github.com/cyring/CoreFreq.git cd CoreFreq make
Next, run the following command to load the Linux kernel module from the local directory:
sudo insmod ./corefreqk.ko
Now, start the daemon in the background:
sudo ./corefreqd &
Finally, start the client:
./corefreq-cli
To see all usage options, type the command below:
./corefreq-cli --help
Congratulations! You have successfully installed CoreFreq. Thanks for using this tutorial for installing the CoreFreq CPU monitoring tool on your Ubuntu 20.04 LTS Focal Fossa system. For additional help or useful information, we recommend you check the official CoreFreq website.