Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Hegemon in linux

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to use Hegemon in linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

What is Hegemon?

Hegemon is a modular system monitor under development written in secure Rust.

It allows users to monitor two uses in a single dashboard. They are system utilization and hardware temperature.

Current features of Hegemon

Monitor CPU and memory usage, temperature, and fan speed

Expand any data streams to display more detailed charts and other information

Adjustable update interval

Clean MVC architecture with good code quality

Unit testing

Features of the program include

MacOS and BSD support (currently only Linux) * Monitoring disk and network Imax O, GPU usage (possible), etc. * Select and reorder data flow * mouse control

How do I install Hegemon in Linux?

Hegemon requires Rust 1.26 or later, as well as development files for libsensors. Therefore, make sure that these packages are installed before installing Hegemon.

The libsensors library is available in the official repository of most distributions, so install it using the following command.

For Debian/Ubuntu systems, use the apt-get command or the apt command to install libsensors on your system.

# apt install lm_sensors-devel

For Fedora systems, use the dnf package manager to install libsensors on your system.

# dnf install libsensors4-dev

Run the following command to install the Rust language and follow the instructions. If you want to see a convenient tutorial for Rust installation, please go to the URL.

$curl https://sh.rustup.rs-sSf | sh

If you have successfully installed Rust. Run the following command to install Hegemon.

How does $cargo install hegemon start Hegemon in Linux?

After successfully installing the Hegemon package, run the following command to start it.

$hegemon

Due to a problem with the libsensors.so.4 library, I encountered a problem when starting Hegemon.

$hegemonerror while loading shared libraries: libsensors.so.4: cannot open shared object file: No such file or directory manjaro

I am using Manjaro 18.04. It has libsensors.so and libsensors.so.5 shared libraries, but no libsensors.so.4. So, I just created the following symbolic link to solve the problem.

$sudo ln-s / usr/lib/libsensors.so / usr/lib/libsensors.so.4

This is a sample gif intercepted from my Lenovo-Y700 notebook.

By default, it only displays the overall summary, and if you want to see the detailed output, you need to expand each section. The following is an expanded view of Hegemon.

The above is all the contents of the article "how to use Hegemon in linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report