Created
December 19, 2020 21:13
-
-
Save medigor/0a00faa662c33f77b4d50a1a27c3c190 to your computer and use it in GitHub Desktop.
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/sh | |
echo "Temp:" $(($(cat /sys/class/thermal/thermal_zone0/temp)/1000))C | |
echo "CPU 0 Freq:" $(($(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq)/1000))MHz | |
echo "CPU 1 Freq:" $(($(cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq)/1000))MHz | |
echo "CPU 2 Freq:" $(($(cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_cur_freq)/1000))MHz | |
echo "CPU 3 Freq:" $(($(cat /sys/devices/system/cpu/cpu3/cpufreq/scaling_cur_freq)/1000))MHz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment