hrw@panda:~$ sh -x /usr/lib/byobu/cpu_freq + PKG=byobu + color + [ = --detail ] + [ -r /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq ] + egrep -i -m 1 ^cpu MHz|^clock /proc/cpuinfo + awk -F[:.] { printf "%.1f", $2 / 1000 } + freq= + true + color b c W + true + color - + true + color c W + true + color - + true + printf %s%s GHz GHz hrw@panda:~$
hrw@panda:~$ sh -x /usr/lib/ byobu/cpu_ freq system/ cpu/cpu0/ cpufreq/ scaling_ cur_freq ]
+ PKG=byobu
+ color
+ [ = --detail ]
+ [ -r /sys/devices/
+ egrep -i -m 1 ^cpu MHz|^clock /proc/cpuinfo
+ awk -F[:.] { printf "%.1f", $2 / 1000 }
+ freq=
+ true
+ color b c W
+ true
+ color -
+ true
+ color c W
+ true
+ color -
+ true
+ printf %s%s GHz
GHz hrw@panda:~$