Home Command line utilities Hegemon – A Modular System Monitor Application Written In Rust

Hegemon – A Modular System Monitor Application Written In Rust

By sk
Published: Updated: 3.4K views

When it comes to monitor running processes in Unix-like systems, the most commonly used applications are top and htop, which is an enhanced version of top. My personal favorite is htop. However, the developers are releasing few alternatives to these applications every now and then. One such alternative to top and htop utilities is Hegemon. It is a modular system monitor application written using Rust programming language.

Concerning about the features of Hegemon, we can list the following:

  • Hegemon will monitor the usage of CPU, memory and Swap.
  • It monitors the system's temperature and fan speed.
  • The update interval time can be adjustable. The default value is 3 seconds.
  • We can reveal more detailed graph and additional information by expanding the data streams.
  • Unit tests.
  • Clean interface.
  • Free and open source.

Installing Hegemon System Monitor Application

Make sure you have installed Rust 1.26 or later version. To install Rust in your Linux distribution, refer the following guide:

Also, install libsensors library. It is available in the default repositories of most Linux distributions. For example, you can install it in RPM based systems such as Fedora using the following command:

$ sudo dnf install lm_sensors-devel

On Debian-based systems like Ubuntu, Linux Mint, it can be installed using command:

$ sudo apt-get install libsensors4-dev

Once you installed Rust and libsensors, install Hegemon using command:

$ cargo install hegemon

Once hegemon installed, start monitoring the running processes in your Linux system using command:

$ hegemon

Here is the sample output from my Arch Linux desktop.

Hegemon in action

Hegemon in action

To exit, press Q.


Suggested read:


Please be mindful that hegemon is still in its early development stage and it is not complete replacement for top command. There might be bugs and missing features. If you came across any bugs, report them in the project's github page. The developer is planning to bring more features in the upcoming versions. So, keep an eye on this project.

Resource:

Thanks for stopping by!

Help us to help you:

Have a Good day!!

You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More