Created
July 31, 2017 08:20
-
-
Save Taehun/c76a0f71247dafc368e8b45d6706030b to your computer and use it in GitHub Desktop.
ODROID-XU4 CPU Burning Test Script
This file contains 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