Pi Related
get configuration setting for maximum CPU frequency:
vcgencmd get_config arm_freq
get actual current CPU frequency (will vary based on processing load):
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
Maximum CPU frequency:
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
Minimum CPU frequency:
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
Current CPU frequency (will vary based on processing load):
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
get CPU temperature:
Script to Display Various Status Info
printf "Maximum CPU frequency: " cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq printf "Minimum CPU frequency: " cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq printf "Current CPU frequency: " sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq printf "Maximum configured CPU frequency: " vcgencmd get_config arm_freq printf "Measure clock: " vcgencmd measure_clock arm
Sites with Lots of Information on Status Data
https://www.raspberrypi.org/documentation/configuration/config-txt/overclocking.md
https://www.elinux.org/RPI_vcgencmd_usage