Created
June 26, 2019 17:11
-
-
Save kevalpatel2106/053ac6cf030ef1f2474591db324ccdc0 to your computer and use it in GitHub Desktop.
Raspberry PI temperature measurement script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
clear | |
for f in {1..7} | |
do | |
vcgencmd measure_temp | |
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1 | |
done | |
vcgencmd measure_temp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment