Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jglathe@volterra:/sys/devices/system/cpu/cpufreq$ for cpu in /sys/devices/system/cpu/cpu[0-9]*; do
- freq=$(cat "$cpu/cpufreq/scaling_cur_freq" 2>/dev/null)
- printf '%s: %s MHz\n' "$(basename "$cpu")" "$((freq / 1000))"
- done
- cpu0: 2438 MHz
- cpu1: 2438 MHz
- cpu2: 691 MHz
- cpu3: 1670 MHz
- cpu4: 1862 MHz
- cpu5: 2995 MHz
- cpu6: 1977 MHz
- cpu7: 2995 MHz
Advertisement
Add Comment
Please, Sign In to add comment