xpinex

PengPod-cpufreq.sh

Feb 10th, 2013
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.13 KB | None | 0 0
  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"
Add Comment
Please, Sign In to add comment