Created
July 31, 2017 08:21
-
-
Save bkrepo/e7b64e1754991f1b29f77c23f9e458e5 to your computer and use it in GitHub Desktop.
ODROID-XU4 CPU Burning Test 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 | |
for i in {0..10} | |
do | |
burnCortexA9& | |
done | |
clear | |
for i in {1..60} | |
do | |
sleep 1 | |
printf "\ec" | |
echo "[ $i second ]" | |
for cpu in {0..7} | |
do | |
echo "CPU $cpu Freq: `cat /sys/devices/system/cpu/cpu$cpu/cpufreq/cpuinfo_cur_freq`" | |
done | |
for zone in {0..4} | |
do | |
echo "Thermal Zone $zone Temp: `cat /sys/class/thermal/thermal_zone$zone/temp`" | |
done | |
done | |
clear | |
echo "[ CPU Burning Test Pass!!!! ]" | |
killall burnCortexA9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment