Hegemon – A Modular System Monitor Application Written In Rust
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.
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:
Here is the sample output from my Arch Linux desktop.
To exit, press Q.
- Gotop – Yet Another TUI Graphical Activity Monitor, Written In Go
- How To Display CPU Usage From Commandline
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.
And, that’s all for now. Hope this helps. More good stuffs to come. Stay tuned!