Skip to content

s-tui - Terminal CPU Stress & Monitor Cheatsheet

s-tui - Terminal CPU Stress & Monitor Cheatsheet

s-tui (Stress Terminal UI) is a text-based interface that graphs CPU frequency, temperature, power, and utilization over time, and can drive a CPU stress test at the same time. It is the go-to tool for watching how a machine behaves under load — spotting thermal throttling, validating a cooling fix, or sanity-checking a new build — entirely from the terminal, including over SSH on headless servers.

Installation

PlatformCommand
pippip install s-tui
Debian/Ubuntusudo apt install s-tui
Fedorasudo dnf install s-tui
Arch Linuxsudo pacman -S s-tui
macOS (Homebrew)brew install s-tui
Stress backendalso install stress or stress-ng for stress mode

Launching

CommandDescription
s-tuiStart the monitor UI
sudo s-tuiRun as root for full sensor access (some platforms)
s-tui --csvLog readings to a CSV file
s-tui -tTerminal (no-graph) mode
s-tui --helpFull option list

Interface & Modes

ElementShows
Frequency graphLive per-core / average CPU MHz
Temperature graphCPU temperature over time
Utilization graphCPU load percentage
Power graphPackage power draw (where available)
Mode selectorSwitch between Monitor and Stress
ModeBehavior
MonitorPassive: just graph the sensors
StressRun stress/stress-ng to load the CPU while graphing
Stress optionsConfigure workers/duration in the side menu

Keys & Controls

KeyAction
Arrow keysNavigate the menu
Enter / SpaceToggle a selection
qQuit
Menu → StressStart/stop the stress workload
Menu → ResetClear the graphs
Menu → GraphsChoose which sensors to display

Detecting Thermal Throttling

The classic workflow: start in Stress mode, watch the frequency and temperature graphs, and look for the frequency dropping while temperature is pinned at the thermal limit — the signature of throttling.

# Stress and watch for throttling
s-tui            # switch to Stress mode, observe freq vs temp

# Log a soak test to CSV for later analysis
s-tui --csv      # writes readings you can graph/inspect afterward

CSV Logging

OptionDescription
--csvAppend readings to s-tui_log_<date>.csv
--csv-file FILEWrite to a specific CSV path
-t, --terminalPrint readings to the terminal instead of the UI
-j, --jsonJSON output mode

Common Workflows

# Validate a cooling/paste fix: soak under stress and confirm temps hold
s-tui            # Stress mode for ~10-15 min, watch the temperature plateau

# Headless server check over SSH (no GUI needed)
ssh host -t s-tui

# Record a benchmark's thermal profile to CSV
s-tui --csv-file run1.csv

s-tui shows the thermal/frequency behavior; pair it with sysbench or stress-ng when you also want throughput numbers under the same load.

s-tui vs Other Monitors

Aspects-tuibtopsysbench
FocusCPU freq/temp/power + stressWhole-system resourcesThroughput benchmarks
Built-in stressYesNoIt is the load
Graphs over timeYesYesNo
Best forThrottling/cooling validationGeneral monitoringPerformance numbers

Resources