mirror of
https://github.com/saymrwulf/powermetrics.git
synced 2026-05-14 20:48:06 +00:00
master
| CPUwall.sh | ||
| GPUwall.sh | ||
| Readme.md | ||
| tmux-wall.sh | ||
powermetrics inside tmux
Make the scripts executable once:
chmod +x CPUwall.sh GPUwall.sh tmux-wall.sh
Start the split view with one command:
./tmux-wall.sh
It will ask for your password once at startup, then create and attach to a root-owned tmux session.
Recreate the tmux session after script changes:
TMUX_RECREATE=1 ./tmux-wall.sh
Useful overrides:
SAMPLE_MS=2000 HOLD_SEC=2 ./tmux-wall.sh
Thermal estimate tuning:
AMBIENT_C=23 IDLE_OFFSET_C=9 DISPLAY_BIAS_W=2.5 CPU_THETA_C_PER_W=1.55 GPU_THETA_C_PER_W=1.35 CLAMSHELL_FACTOR=1.08 ./tmux-wall.sh
The thermal section now shows estimated absolute CPU-side and GPU-side temperatures plus the estimated gradient. These values are derived from powermetrics CPU/GPU power and activity plus thermal pressure. They are modeled estimates, not direct sensor readings.
If you want to attach to an existing session later:
sudo tmux attach -t powermetrics