get raspberry pi cpu speed code example
Example: get raspberry pi cpu speed
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
OR
vcgencmd get_config arm_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
OR
vcgencmd get_config arm_freq