Stress Terminal UI (s-tui) is a free terminal based CPU monitoring tool for Linux based Operating system. Through this tool we can monitor the CPU temperature, frequency and utilization in terminal user interface. It is written in Python. In this post we will see How to install Stress Terminal UI s-tui on Ubuntu.

SetUP

As already said we are going to install s-tui Stress termianl UI on Ubuntu machine . We are using Ubuntu 16.0.4.3 LTS updated as of now Jan 2018

root@jarvis:~# lsb_release -d
Description:    Ubuntu 16.04.3 LTS
root@jarvis:~# uname -rm
4.4.0-109-generic x86_64

Installation of s-tui

s-tui is python product, I installed it with help of pip installer. Below are commands to install s-tui package on Ubuntu machines.

root@jarvis:~# pip install s-tui
Collecting s-tui
  Downloading s-tui-0.6.7.3.tar.gz
Requirement already satisfied: urwid>=1.3.1 in /usr/lib/python2.7/dist-packages (from s-tui)
Collecting psutil>=5.2.0 (from s-tui)
  Downloading psutil-5.4.3.tar.gz (412kB)
    100% |████████████████████████████████| 419kB 693kB/s
Building wheels for collected packages: s-tui, psutil
  Running setup.py bdist_wheel for s-tui ... done
  Stored in directory: /root/.cache/pip/wheels/d3/11/16/47188ba13f3a48828bb6f86261ea4621488606203d062b4ba2
  Running setup.py bdist_wheel for psutil ... done
  Stored in directory: /root/.cache/pip/wheels/8b/83/e9/f0feab7d059e177e6f3834f42b8a302805fd83dbb16405515a
Successfully built s-tui psutil
Installing collected packages: psutil, s-tui
Successfully installed psutil-5.4.3 s-tui-0.6.7.3

Once its done, we can run s-tui from Linux/Unix command line terminal, this will display screen like below mention.