"s-tui" - Terminal Tool to Monitoring CPU Temperature in Linux

stui cpu temperatureFor some Linux users, the terminal is the most environment used for their work. It sometimes happens that you would like to do everything on your terminal such as having a UI monitoring tool for the local processes may be for the fun because you have some command line monitoring tool. This time, I will present you a new UI monitoring tool which is s-tui for your CPU.

 What is Stress Terminal UI?

Stress terminal UI abbreviated s-tui is a terminal UI for monitoring your computer. s-tui allows monitoring CPU temperature, frequency, and utilization in a graphical way from the terminal. It is a Github project developed by Alex Manuskin and Gil Tsuker. It doesn't require an X-server and uses minimal resources. It can work with stress if you would like to stress your computer. It doesn't offer the possibility to see the different processes and to operate on them but only to graphically see some resources in use.

1) Install the pre-requisites

s-tui needs pip to be installed in order to be installed. It means that you need to have python installed too. Python comes now some new systems so you will probably need to install only pip.

We will install it through get-pip.py

# wget https://bootstrap.pypa.io/get-pip.py

After downloading get-pip, we will now install pip

# python get-pip.py
Collecting pip
 Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
 100% |████████████████████████████████| 1.3MB 1.0MB/s 
Collecting setuptools
 Downloading setuptools-36.2.7-py2.py3-none-any.whl (477kB)
 100% |████████████████████████████████| 481kB 2.5MB/s 
Collecting wheel
 Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
 100% |████████████████████████████████| 71kB 11.1MB/s 
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-9.0.1 setuptools-36.2.7 wheel-0.29.0

We can also install stress

# apt install stress

2) Install and launch s-tui

Now that we have installed pip, we can install s-tui as below:

# pip install s-tui
Collecting s-tui
 Downloading s-tui-0.4.3.tar.gz
Collecting urwid (from s-tui)
 Downloading urwid-1.3.1.tar.gz (588kB)
 100% |████████████████████████████████| 593kB 2.1MB/s 
Collecting psutil (from s-tui)
 Downloading psutil-5.2.2.tar.gz (348kB)
 100% |████████████████████████████████| 358kB 3.2MB/s 
Installing collected packages: urwid, psutil, s-tui
 Running setup.py install for urwid ... done
 Running setup.py install for psutil ... done
 Running setup.py install for s-tui ... done
Successfully installed psutil-5.2.2 s-tui-0.4.3 urwid-1.3.1

You can now launch s-tui on your terminal as below:

# s-tui

You can on the right the dashboard which offers you some possibilities.

3) Use the terminal UI monitoring tool

By default, you have a normal graph of your regular operations as on the screenshot above. I will explain how to use the different options given on the dashboard. You can use the mouse of your computer if you have one or your keyboard to scroll.

You have the possibility to display a graph of your normal operation which are the normal processes in current execution or you can display a graph when you stress your computer as below

You can see that the processes are used to their maximum. You can decide to set stress options for your computer as below

If you need to know what you can do with s-tui, you can use the Help option on the right

It explains what you are able to do with s-tui. You can also have some information about s-tui by choosing the About option

It gives you the date of creation of the tool and its creators. You can use a Smooth Graph by choosing the option

You can decide to reset the graph by using the Reset control option on the left.

With s-tui, you can decide to choose what to display on the graph one or two elements between the frequency, temperature, and utilization as below

On the left under the Quit option, you have some others information as the current and the max temperature or the top frequency as below

You can leave s-tui with the Quit option or by using the q command

s-tui tool is an interesting terminal UI monitoring tool which only shows a graph of your CPU. It doesn't show the different processes in execution. You can use it for fun. It can be more interesting if it can offer the possibility to operate on the differents processes in execution.

Alain Francois 6:50 pm

About Alain Francois

IT Linux administrator passionate of free and open source software, I work on Linux Systems since some years on installations and deployments of certain solutions. I like to share my experiences with a wider audience by training and conferences.

Author's All Posts
Like to become part of Linoxide Team and contribute tips? Contact us here.

Comments

Your email address will not be published. Required fields are marked *

All comments are subject to moderation.