heavy bomb It is… TUI Linux resource monitor written by Bash. It shows the usage/statistics of CPU (including temperature), memory, disk, network and process.
This kind of top-like tool is fairly new, but has gained a lot of popularity. Due to the cross-platform requirements, its developers are currently rewriting it to use the Python3 psutil library for data collection instead of using Linux-specific tools. [[Edit]]Bashtop is now also available on macOS.
Bashtop allows you to filter processes (press
f ), and has multiple sorting options: sort by “cpu lazy”, “cpu response”, memory, pid, etc. by
→ The keys on the keyboard. You can also display the detailed information of a certain process, and terminate, terminate or interrupt the selected process.
Although many TUIs (text-based/terminal user interfaces) have the ability to perform various operations with the mouse, do not try this operation with Bashtop because it does not support the mouse. But this does not make it cooler, especially when you view its game style menu (you can press
Not only is its menu cool, it also shows available keyboard shortcuts (in
Help ) And allows you to change various Bashtop configuration options, otherwise these configuration options can be used in the configuration file (
$HOME/.config/bashtop ). From there you can Change theme (It can automatically download themes from its GitHub repository), update interval, default process sorting (if it should display CPU temperature, draw clock, etc.):
You may also like: s-tui CPU monitoring and stress testing tool. The UI is very responsive, but it will not display the same amount of information in all sizes. Depending on the size of the terminal, you will see more/less processes in the process list, and more/less information about CPU, memory and disk.
It is worth noting that the minimum terminal size of the tool is 80×25. The default window size of most common terminal emulators is 80×24, so you need to increase the window height slightly to make Bashtop work properly.
Bashtop should be able to run on most modern Linux distributions on terminals with truecolor functionality.
Since it is written in Bash, installing Bashtop is like downloading bashtop script From its project page (or Publish archives ), and then install it somewhere in the PATH. It does have some dependencies, but you need to make sure that the dependencies are installed on the system (in addition to the optional dependencies, in most cases other dependencies should already be installed):
- Bash (it requires version 4.4 or higher, so it cannot run on Ubuntu 16.04 or CentOS 7)
- GNU core utilities
- GNU Grep
- The ps in procps-ng (version 3.1.15 or higher, usually in the installed package called procps)
- Lm sensor used to display CPU temperature (usually referred to as package
lm_sensors; You need to run
sensors-detectDetect the computer’s sensors as the root user after installation)
- curl is used to display messages about Bashtop updates and the ability to download other themes (the package is called
curlOn most (if not all) Linux distributions)
Click here to see more of the great command line tools I wrote on Linux Uprising.