Skip to content

Instantly share code, notes, and snippets.

@kevalpatel2106
Created June 26, 2019 17:11
Show Gist options
  • Save kevalpatel2106/053ac6cf030ef1f2474591db324ccdc0 to your computer and use it in GitHub Desktop.
Save kevalpatel2106/053ac6cf030ef1f2474591db324ccdc0 to your computer and use it in GitHub Desktop.
Raspberry PI temperature measurement script
#!/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