commit 034de027c1c964d215340e6be10313e801a67f86 parent 84da251b2e572c909f942e1cb1316b0164a0791a Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 28 Jun 2020 21:41:17 +0200 Merge branch 'master' of src.adamsgaard.dk:dotfiles Diffstat:
A | .local/bin/temptest-rpi | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/.local/bin/temptest-rpi b/.local/bin/temptest-rpi @@ -0,0 +1,14 @@ +#!/bin/bash +clear + +gettemp() { + vcgencmd measure_temp + #echo "$(( $(cat /sys/class/thermal/thermal_zone0/temp) / 1000 )) deg C" +} + + +for f in {1..7}; do + gettemp + sysbench --test=cpu --cpu-max-prime=25000 --num-threads=4 run >/dev/null 2>&1 +done +gettemp