amanusk / s-tui

Terminal-based CPU stress and monitoring utility
https://amanusk.github.io/s-tui/
GNU General Public License v2.0
4.05k stars 139 forks source link

Wrong Top Freq when run as root #145

Closed d-packs closed 4 years ago

d-packs commented 4 years ago

Step 1: Describe your environment

Step 2: Describe the problem:

Observed Results:

The 'Top Frequency' is read wrong when run as root, causing the frequency graph to be cropped at the upper side where it is most interesting. The screenshot shows two instances running concommitently on the same machine, the one on the left being called with command sudo s-tui -d and the one on the right with s-tui -d

s-tui

Step 3: Reproduce the problem:

Steps to reproduce:

  1. run s-tui with elevated privileges
  2. check Top Frequency
amanusk commented 4 years ago

This should be fixed in version 1.0 or higher. Thanks for reporting.