How to install Hegemon. A system monitor for Linux.

0
432
Monitoring

There are several tools to monitor your Linux system. Some more or less complex, today I will present you a light but powerful tool to verify your system. I’m talking about Hegemon. In this post, you will learn how to install Hegemon on Linux.

To monitor the processes and the memory of your computer, there are tools such as top and htop, however, Hegemon is presented as a modular alternative to them. It is also written in Rust, which guarantees that its consumption will be very fair.

Some of its features are:

  • Monitor CPU and memory usage, temperatures, and fan speeds.
  • Expand any data stream to reveal a more detailed graph and additional information Adjustable update interval.
  • Clean MVC architecture with good code quality.
  • Unit tests.

For now, it only supports Linux, but in the future, the development team has in mind to include support for Mac OS and BSD.

So, let’s install Hegemon.

1. Install Rust Language

Hegemon is a tool built in Rust. Therefore, you must install it and configure it properly in order to run it.

We recently taught you how to do it, so there won’t be any problems.

2. Install Hegemon

One of the dependencies is Rust, but when its installation is complete, it is now necessary to install the system’s sensors. With this, Hegemon will be able to measure the temperature of your processors and show information closer to reality.

For RHEL and CentOS:

:~# yum install lm_sensors-devel

If you use Fedora:

:~$ sudo dnf install lm_sensors-devel7

In case you are using Debian, Ubuntu and Linux Mint.

:~$ sudo apt install libsensors4-dev
1.- Install libsensors
1.- Install libsensors

Now using the Rust cargo package manager, you can install Hegemon without problems.

:~$ cargo install hegemon
2.- Install hegemon using cargo
2.- Install hegemon using cargo

Then, run it.

:~$ hegemon

And you will see.

3.- Running hegemon
3.- Running hegemon

As you can see in the image, you can expand the information shown by pressing the space keyboard. In addition, you can change the default monitoring frequency to 3.

To exit, press q.

Conclusion

While Hegemon is at an early stage of development, the fact that it is modular makes it interesting. In other words, you can expand its functionality on your own. Being programmed in Rust gives us the opportunity to have a good tool without sacrificing resources.

Please share this post with your friends.

LEAVE A REPLY

Please enter your comment!
Please enter your name here