Skip to content

Instantly share code, notes, and snippets.

@imabuddha
Last active December 6, 2020 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imabuddha/ac2360e9fcd35afbd6c70cbe8d2c7dda to your computer and use it in GitHub Desktop.
Save imabuddha/ac2360e9fcd35afbd6c70cbe8d2c7dda to your computer and use it in GitHub Desktop.
Short cpu stress & temp based on script used by https://www.youtube.com/c/explainingcomputers
#!/bin/bash
clear
for f in {1..7}
do
vcgencmd measure_temp
sysbench --test=cpu --cpu-max-prime=25000 --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