With this tutorial, you will learn how to monitor the CPU of your Ubuntu using the Corefreq tool.
What is Corefreq?
This is a monitoring application whose objective is to monitor Intel 64-bit processors and which supports multiple architectures such as Atom, Core2, SandyBridge, Nehalem, among others.
Install Corefreq in Ubuntu 16.04
The first step is to install the Development Tools which will allow us to compile and install the program, for this we will execute the following commands according to our distro:
CentOS -RedHat: sudo yum group install 'Development Tools' Debian – Ubuntu: sudo apt-get install dkms git libpthread-stubs0-dev Fedora: sudo dnf group install 'Development Tools'
Next, we will clone the code of Corefreq from the GitHub repository using the following command:
git clone https://github.com/cyring/CoreFreq.git
Now we access the directory where we have cloned the Corefreq resource:
Once there, we execute the make command to perform the particular installation.
Then we will execute the following commands to load the kernel module and the program daemon:
sudo insmod corefreqk.ko sudo ./corefreqd
Once these parameters are loaded, we open a terminal since the sudo command ./corefreq should be executed in the background and there we can start the application as users running the following line:
There we have access to all the parameters above of the CPU. To visualize the help of Corefreq, we will execute the following command:
In this way, Corefreq will be a great ally to manage in real time the status of the processor in Linux environments.