Quantcast
Viewing all articles
Browse latest Browse all 3567

General Questions • [Software] s-tui cpu monitoring does not show power consumption

I'm not familiar with s-tui. Another way to check is with 'turbostat' provided by package 'linux-cpupower'.

Using Xfce's genmon I set up one to execute on click so I can measure during any situation.

Code:

# turbostat --quiet --num_iterations 1 --show PkgWatt,RAMWatt
It shows me the answer in a notification

Code:

notify-send "$(sudo turbostat --quiet --num_iterations 1 --show PkgWatt,RAMWatt)"
It does require root, sudo or doas. Support varies per platform. Expect a short delay as it measures and averages a short span of time.

The raw data comes from continuous counters in /sys/class/powercap/intel-rapl:0/

Statistics: Posted by CwF — 2024-05-28 20:30 — Replies 2 — Views 73



Viewing all articles
Browse latest Browse all 3567

Trending Articles