BASH 13
PengPod-cpufreq.sh By jimmyd on 18th September 2021 07:16:28 AM
  1. #!/bin/bash
  2. KHZ=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq)
  3. MHZ=$(($KHZ/1000))
  4. echo "CPU running at: $MHZ MHz"

PasteIT is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.