jLuger.de - Get CPU information under Linux

Need some information about you CPU under Linux? To get the scaling governor (tells how your CPU should set their frequency, e.g. low as possible when there is no work, or maximum all the time) and the current scaling (current frequency) use the following two lines:

for i in `ls /sys/devices/system/cpu/cpu?/cpufreq/scaling_governor`; do cat $i; done
for i in `ls /sys/devices/system/cpu/cpu?/cpufreq/scaling_cur_freq`; do cat $i; done

To get more information take a look at the files in /sys/devices/system/cpu/cpu?/cpufreq. The ? is a placeholder for a single character. Here for the number of the core that is questioned. For the two lines above the shell will expand it automatically. For manually exploration expand it yourself.