System resource monitoring with bpytop

Fast and Functional

Article from Issue 243/2021
Author(s):

Linux users have many options for monitoring system resources, but bpytop, a new Python port of bashtop, more than stands out from the crowd.

With a system like Linux, which is available to multiple users at the same time, it is important to keep an eye on the available resources. Is a graphical application running haywire and blocking all of the CPU's cores? Is a user running a computationally intensive script and thus making work agonizingly slow for the server's other users? Has a process gone wild and started to write increasing amounts of corrupted data to the hard disk?

Such questions can be answered by various monitoring tools. The popular distributions typically preinstall Top. The program provides an overview of the active processes and measures both the CPU load and the RAM usage. Htop offers similar functions in a visually appealing format. Other programs display the network load (iftop) or determine which applications or processes cause massive writes to the hard disk (iotop).

Bashtop [1] combines many of these functions in a text-based interface. The program displays the CPU load both numerically and as a pseudographic. It lists the active processes along with their memory and CPU consumption, visualizes the throughput rates of the individual network interfaces, and much more. The program has a downside, however. As the name already suggests, it was programmed completely as a Bash script. This makes further maintenance and development complicated; it also slows down the program. But now there's another option that addresses these issues, because bashtop's developer has released an official Python port of the utility called bpytop [2].

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • btop++

    Btop++ combines a high level of convenience with blistering speed in system monitoring and process management.

  • Digital Spirit Level

    The small MPU6050 sensor contains a gyroscope and an accelerometer, which means that you can build a digital spirit level with it.

  • DIY Pulse Sensor

    A pulsemeter built with a Raspberry Pi, a digital-to-analog converter, and an optical sensor monitors your heart rate just as well as many far more expensive medical devices.

  • WiFi Thermo-Hygrometer

    A WiFi sensor monitors indoor humidity and temperature and a Node-RED dashboard reports the results, helping you to maintain a pleasant environment.

  • System Status Tools

    A system monitor lets you query the system’s current health state. If you are unhappy with the spartan Top tool, try one of these easy alternatives.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News