version 1.0 displayed only cpu0's speed.
version 2.0 allows to display, with different modules, cpu0 to cpu7 (brute force copy-paste of code).
What about a version able to adapt to the actual number of online cpu, and displaying only a line: the sum and the average of the speed.
(I have 12 cpu(well, only 6 true ones, 6HT)... and I'm thinking about the dual & more cpu motherboards, where cores could come online at any time.
It would need reading /sys/devices/system/cpu/online (syntax can be tricky: usual 0-x, but with holes, it cat be 0-x,y-z ... and so one (x < y < z) (and range x-x is reduced to a single x).
Or instead of ./online, ./possible, with handling of error when opening an offline cpu for ./cpuXX/cpufreq/scaling_cur_freq
(./possible is simpler, 0-x )
Any comment ?
I have now released version 2.1 which has automatic detection of number of CPUs, but it still assumes that the number of CPUs are constant.
Also implemented is an alternative to instead of showing all CPU frequencies, showing max, average & min frequencies.