Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the super practical monitoring tools in Linux?

Shulou Source: shulou.com Published: 2022-06-01 15:23:42 10月03日 Update

This article will explain in detail what are the super-practical monitoring tools in Linux. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

1. Iotop

If you want to know how many of your precious Imax O resources are used by certain processes, use iotop.

The iostat command also checks the status of iUnip O, but it monitors the system-level iUnip O situation, while iotop monitors the process level and can monitor which process is using iUnip O information.

2. Htop

Htop is an enhanced version of traditional top, with better visual effects and easier to understand the current system.

You can clearly see the usage of each core of CPU, which is not as obscure as top.

Similarly, memory usage is clear.

Not only do you have traditional percentage data, but you also use bar charts to show metrics for CPU and memory, which is much more readable than top.

And the operation is more convenient, for example, the termination process does not need to enter the process ID, but also can terminate multiple processes at a time.

Htop also has many convenient operations, it is recommended to use him instead of top.

3. IPTraf

IPTraf is a powerful tool for diagnosing network problems. It can monitor all network traffic of the system.

You can set filters for specified ports and transport types.

IPTraf is like a lightweight Wireshark.

Many detailed operations can be done through IPTraf, such as statistical breakdown of traffic by overall packet size:

Both tcpdump and tshark have similar functions to IPTraf, but IPTraf is easier to use, has menus, and is easy to operate.

4. Monit

Monit is a very flexible tool that can be configured in many ways and supports different types of thresholds and performance alerts.

Monit allows monitoring of processes, ports, files, and other targets, and can set a dynamic alarm mode.

For example, if you want to monitor a process to make sure it is running, restart it if the process dies, and if the loop fails many times, it will not restart, but will send an alarm. Such requirements can be easily addressed through Monit.

Monit also has a lightweight web interface:

This is the end of this article on "what are the super practical monitoring tools in Linux?". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Process monitoring utility article system Chinese Super League traditional memory situation data more traffic status port type level network lightweight different Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Redmi OPPO Reno Xiaomi MariaDB