t , A terminal-based CPU monitoring and stress testing tool for Linux. After nearly three years of development, it has reached the stable version of version 1.0.0.
s-tui uses color graphs to monitor CPU frequency, utilization, temperature, fan speed, and power, while also showing performance degradation caused by thermal throttling.
The tool also has built-in options to use third-party tools (for example,
stress-ng . Firemen As an external tool for stress testing the CPU, this tool is also supported, but please note that for this you need to install s-tui from the source code, and it does not work on all systems.
The TUI (Terminal User Interface) application has a responsive interface, similar to a bandband, so the information it displays depends on the size of the terminal window. For the sidebar, you can use
h j k l Navigate without resizing the terminal window. If you prefer to use a mouse instead of a keyboard, you can do this because s-tui has mouse support.
If you want to use it in TTY and it crashes on startup, use
--no-mouse Option to disable mouse input support and solve this problem.
Another cool feature of s-tui is the ability to run shell scripts when a certain threshold is exceeded. For version 1.0.0, s-tui has gone through some important things, and the user interface has changed. In this first stable release, each source now has multiple graphs-CPU temperature, frequency and usage graphs are now per core etc. In addition, all information displayed in the sidebar is now in text form. Graphical system monitor from the command line
In the previous version, you can only open or close the graph. With s-tui 1.0.0, you can turn off side menu items and graphics at the same time. There are now two sections, called “Graphics” and “Summary”, from which you can enable or disable any graphic or sidebar information. In addition, the selected graphics can now be stored for future use.
Some important changes have also taken place under the hood, and everything has become more modular. By simply implementing all class methods, this will make adding new sources much easier.
Also note that in this version, some features have been removed in order to make s-tui more modular: use root to read the maximum frequency of all cores and display the highest recorded temperature. It is planned to display another menu in a future version that displays the maximum/minimum/average value of all sensors.
s-tui is available in the official repositories of certain Linux distributions, including Debian Buster and higher, Ubuntu 19.04 and higher, Arch Linux/Manjaro and openSUSE. Although it meets expectations, it has not been updated to the latest version in most cases (in Ubuntu, it will not be released until Ubuntu 20.04).
The s-tui installation instructions mention the option of using pip to install s-tui, but since the instructions mention directly using “pip”, depending on the Linux distribution used, it can point to Python2 or Python3, I think I mentioned that you must use Python3 installs it. E.g. This should install the latest s-tui:
python3 -m pip install --upgrade --user s-tui
The s-tui executable file is installed in
~/.local/bin Therefore, make sure that this directory is in your PATH. If not, please open
~/.zshrc Etc., depending on what you are using), then add it to the bottom of the file:
export PATH=$PATH:$HOME/.local/bin , Open a new terminal, you can run s-tui without entering the full path.
To stress test the CPU, please install
stress-ng Package-should be in the repository of most Linux distributions.