Easily Monitor CPU Utilization in Linux Terminal With Stress Terminal UI

Brief: Monitoring CPU utilization in Linux becomes a bit better with Stress Terminal UI. 

For we terminal lovers, the more terminal tools, the better.  I’ve covered a number of terminal tools before, including music player, file browser. Today, I’m here with a monitoring tool that can visualize various parameters of your CPU inside your terminal.

I know that we have covered CoreFreq CPU Utilization tool in the past but that tool was meant for advanced users. Stress Terminal UI is a  lot easier to use and comprehend.

Stress Terminal UI for CPU monitoring in Linux

Stress Terminal UI (s-tui for short) is CPU monitoring tool that runs entirely within your terminal. It is written in Python and is developed by Alex Manuskin. Let’s take a look first:

s-tui Interface
s-tui Interface

It has a visually pleasant and clean interface. If you want a smooth graph plotting, you can check the relevant options.

Features

Stress Terminal UI offers the following features:

  • Visualize CPU Frequency, Utilization, Temperature and Power Usage
  • Displays performance dips caused by thermal throttling
  • Lightweight and uses minimal resources
  • Requires no display server (i.e. X-server for most Linux distros)
  • Stress Operation mode for stress testing the CPU

You can hide specific sections if you don’t need them. Here’s how it looks with smooth graph plotting and only Frequency and Power Usage sections enabled:

s-tui with CPU Frequency & Power Usage
s-tui with CPU Frequency & Power Usage

s-tui also supports stress testing your CPU. It uses the stress command-line tool in the background for stressing the CPU. If  you select the Stress Operation mode, you will notice that all the graphs will hit their maximum values:

s-tui Stress Operation mode
s-tui Stress Operation mode

You can also tweak the stress testing parameters from the Stress Options:

s-tui Stress Options
s-tui Stress Options

s-tui also displays the CPU information in textual form at the bottom:

s-tui CPU Information
s-tui CPU Information

If you want to observe various CPU parameters of you computer Stress Terminal UI is a really nice tool. It is especially helpful for monitoring your remote systems or VPS.

S-tui doesn’t show specific information about the processes running on the system, it just visualizes the overall situation. So, if you want a tool that reports information about individual processes or want to manage those processes, s-tui can’t really help you with that.

Installation on Ubuntu and other Linux distributions

For installing s-tui, you will need a Python environment set up on your system and the pip command has to be available. You can see how to install pip on Ubuntu Linux in this tutorial.

Run the following command for installing it:

pip install s-tui --user

If you want to install it system-wide, you will have to run pip with sudo:

sudo pip install s-tui

That is enough for installing s-tui but if you want to use the Stress Operation mode, you will also have to install stress on your system.  It’s just a simple apt command away:

sudo apt install stress

Now, you are ready to use s-tui on your system. If you find any bug you can report it on their GitHub page:

Stress-Terminal UI


What do you think about s-tui? Is it something you would use for CPU monitoring in Linux? Do you use some other tool to monitor CPU utilization?

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
stunnel How To Encrypt Traffic to Redis with Stunnel on Ubuntu 16.04
Viewed 2223 times since Sun, Dec 6, 2020
RHCS6: Debug and test multicast traffic between two hosts
Viewed 6763 times since Sun, Jun 3, 2018
How to sort IP addresses in Linux
Viewed 3684 times since Sun, May 20, 2018
How to Configure ‘FirewallD’ in RHEL/CentOS 7 and Fedora 21
Viewed 10579 times since Wed, Oct 9, 2019
How to use yum-cron to automatically update RHEL/CentOS Linux 6.x / 7.x
Viewed 5150 times since Tue, Dec 4, 2018
Manage SSH Key File With Passphrase
Viewed 2345 times since Tue, Mar 5, 2019
Learn Linux System Auditing with Auditd Tool on CentOS/RHEL
Viewed 4423 times since Fri, Apr 5, 2019
How to remove CTRL-M (^M) characters from a file in Linux
Viewed 2692 times since Thu, Feb 7, 2019
Manage Linux Password Expiration and Aging Using chage
Viewed 4722 times since Tue, Sep 11, 2018
red hat 7 tmpfiles service
Viewed 1894 times since Thu, Oct 11, 2018