Wednesday, October 11, 2017

Install s-tui for CPU monitoring in Linux Ubuntu

   s-tui is a terminal UI for monitoring your computer. s-tui allows to monitor CPU temperature, frequency, power and utilization in a graphical way from the terminal.
  The s-tui monitors CPU temperature/utilization/frequency/power and shows performance dips caused by thermal throttling.

s-tui manual

usage: [-h] [-d] [-c] [-t] [-j] [-nm] [-v] [-ct CUSTOM_TEMP]

TUI interface:

The side bar houses the controls for the displayed grahps.
At the bottom of the side bar, more information is presented in text form.
  • Use the arrow keys or 'hjkl' to navigate the side bar
  • Toggle between stressed and regular operation using the radio buttons in 'Modes'.
  • If you wish to alternate stress defaults, you can do it in 'Stress options'
  • Select a different temperature sensors from the 'Temp Sensors' menu
  • Change time between updates using the 'Refresh' field
  • Use the 'Reset' button to reset graphs and statistics
  • Toggle displayed graphs by selecting the [X] check box
  • If a sensor is not available on your system, N/A is presented
  • If your system supports it, you can use the utf8 button to get a smoother graph
  • Press 'q' or the 'Quit' button to quit
  • Run `s-tui --help` to get this message and additional cli options
optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           Output debug log to _s-tui.log
  -c, --csv             Save stats to csv file
  -t, --terminal        Display a single line of stats without tui
  -j, --json            Display a single line of stats in JSON format
  -nm, --no-mouse       Disable Mouse for TTY systems
  -v, --version         Display version
  -ct CUSTOM_TEMP, --custom_temp CUSTOM_TEMP
                        Custom temperature sensors.
                        The format is: <sensors>,<number>
                        As it appears in 'sensors'
                        > sensors
                        temp1: +47.0C
                        temp2: +35.0C
                        temp3: +37.0C
                        use: -ct it8792,0 for temp 1

Installation instructions:

Add the PPA to your system, update the local repository index and install the Stress Terminal UI: s-tui package:

$ sudo add-apt-repository ppa:amanusk/python-s-tui

$ sudo apt-get update

$ sudo apt-get install python-s-tui

Using s-tui:

 $ sudo s-tui

No comments:

Post a Comment