You're replying to a comment by eMPee584.

April 09, 2012, 21:37

Hah! Nice stuff, this awk. Thx to them examples, here's what i came up with to monitor what frequency my quad-core CPU currently runs at: (lol)
> #!/bin/bash
> awk '{sum+=$1}; END {printf "∅%.2fGHz\n", sum/NR/10**6}' \
> <(cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq)
integrates nicely into a tmux status bar - adn works for any number of CPUs :D

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "computer_92": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.