Funny Conky like script to monitor your PBP state
I found it this script useful. So I'm sharing it.
It monitors CPU/GPU frequencies, temperatures and gives basic info from top.


a53=$(cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq | awk '{print $1 / 1000000}')
a72=$(cat /sys/devices/system/cpu/cpu4/cpufreq/scaling_cur_freq | awk '{print $1 / 1000000}')
cpu=$(cat /sys/class/thermal/thermal_zone0/temp)

gpuf=$(cat /sys/devices/platform/ff9a0000.gpu/devfreq/ff9a0000.gpu/cur_freq | awk '{print $1 / 1000000}')
gpu=$(cat /sys/class/thermal/thermal_zone1/temp)
echo CPU temperature '>' ${cpu::2}C
echo GPU temperature '>' ${gpu::2}C
echo A53 Little frequency '>' ${a53}Ghz
echo A72 Big frequency '>' ${a72}Ghz
echo GPU frequency '>' ${gpuf}Mhz
echo ""
top 1 -bn1 | head -10

Copy code, save as eg. Then:

chmod +x

If you want to refresh information every 0.5 seconds:

watch -n 0.5

Every 2 seconds:

watch -n 2
thanks. i'll check this out with stress testing.

i've found the simple CPU temp monitor in sway is sufficient for my needs, but do set the governor to conservative and tweak power settings for conservation.

Possibly Related Threads…
Thread Author Replies Views Last Post
  External USB C Monitor not working altacus 29 29,364 08-08-2021, 10:19 AM
Last Post: Dendrocalamus64
  Netflix, state of the art? gleachkr 82 80,846 03-24-2021, 03:42 PM
Last Post: wrzomar
  kodi-git build script for mainline hwaccel media decoding xmixahlx 21 21,877 11-01-2020, 05:17 PM
Last Post: xmixahlx
Question Manjaro XFCE: video outputs (Multi-monitor) EreTIk 2 3,284 03-23-2020, 11:20 AM
Last Post: EreTIk
Shocked Pinebook Pro Build Script Issues TDC_PBP 3 4,501 03-01-2020, 04:24 PM
Last Post: jwhall
  Connected to 4k (3840x2160) monitor but I can only select upto 1920x1080 resolution NigelT 4 6,214 01-27-2020, 01:19 PM
Last Post: xmixahlx
  State of hibernate or hybrid-sleep? Arwen 5 5,838 11-21-2019, 07:51 AM
Last Post: tophneal
Bug MATE System Monitor shows seven CPU cores in Debian Feakster 2 3,337 11-07-2019, 11:32 AM
Last Post: hmuller

Forum Jump:

Users browsing this thread: 1 Guest(s)