dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles # fast
git clone https://src.adamsgaard.dk/dotfiles.git # slow
Log | Files | Refs | README | LICENSE Back to index

temptest-rpi (253B)


      1 #!/bin/bash
      2 clear
      3 
      4 gettemp() {
      5 	vcgencmd measure_temp
      6 	#echo "$(( $(cat /sys/class/thermal/thermal_zone0/temp) / 1000 )) deg C"
      7 }
      8 
      9 
     10 for f in {1..7}; do
     11 	gettemp
     12 	sysbench --test=cpu --cpu-max-prime=25000 --num-threads=4 run >/dev/null 2>&1
     13 done
     14 gettemp