mirror of
https://github.com/saymrwulf/powermetrics.git
synced 2026-05-14 20:48:06 +00:00
41 lines
988 B
Markdown
41 lines
988 B
Markdown
# powermetrics inside tmux
|
|
|
|
Make the scripts executable once:
|
|
|
|
```bash
|
|
chmod +x CPUwall.sh GPUwall.sh tmux-wall.sh
|
|
```
|
|
|
|
Start the split view with one command:
|
|
|
|
```bash
|
|
./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:
|
|
|
|
```bash
|
|
TMUX_RECREATE=1 ./tmux-wall.sh
|
|
```
|
|
|
|
Useful overrides:
|
|
|
|
```bash
|
|
SAMPLE_MS=2000 HOLD_SEC=2 ./tmux-wall.sh
|
|
```
|
|
|
|
Thermal estimate tuning:
|
|
|
|
```bash
|
|
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:
|
|
|
|
```bash
|
|
sudo tmux attach -t powermetrics
|
|
```
|