Skip to content

Instantly share code, notes, and snippets.

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