View difference between Paste ID: qmfUVPun and XmDvdijJ
SHOW: | | - or go back to the newest paste.
1
#!/bin/bash
2
while true ; do
3-
echo -n "CPU freq: " ; echo -n $((`
3+
echo -n "CPU freq: " ; echo -n $((`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq`/1000))
4-
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
4+
5-
`/1000))
5+
6
sleep 1
7
done