Views:
736,268โ
Votes: 8โ
Tags:
cpu
conky
Link:
๐ See Original Answer on Ask Ubuntu โง ๐
URL:
https://askubuntu.com/q/935623
Title:
Any way to check the clock speed of my processor?
ID:
/2017/07/13/Any-way-to-check-the-clock-speed-of-my-processor_
Created:
July 13, 2017
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Iโd like to point out sudo
is needed for Ianโs answer above:
sudo cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq
However you can get the same results without sudo using:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
My favourite is to use Conky where you can paint your own picture:
This sits on the right of my built-in display all the time. The relevant code for the CPU section is:
${color2}${voffset 5}Intelยฎ i-7 3630QM 3.4 GHz: ${color1}@ ${color green}${freq} MHz
${color}${goto 13}CPU 1 ${goto 81}${color green}${cpu cpu1}% ${goto 131}${color3}${cpubar cpu1 18}
${color}${goto 13}CPU 2 ${goto 81}${color green}${cpu cpu2}% ${goto 131}${color3}${cpubar cpu2 18}
${color}${goto 13}CPU 3 ${goto 81}${color green}${cpu cpu3}% ${goto 131}${color3}${cpubar cpu3 18}
${color}${goto 13}CPU 4 ${goto 81}${color green}${cpu cpu4}% ${goto 131}${color3}${cpubar cpu4 18}
${color}${goto 13}CPU 5 ${goto 81}${color green}${cpu cpu5}% ${goto 131}${color3}${cpubar cpu5 18}
${color}${goto 13}CPU 6 ${goto 81}${color green}${cpu cpu6}% ${goto 131}${color3}${cpubar cpu6 18}
${color}${goto 13}CPU 7 ${goto 81}${color green}${cpu cpu7}% ${goto 131}${color3}${cpubar cpu7 18}
${color}${goto 13}CPU 8 ${goto 81}${color green}${cpu cpu8}% ${goto 131}${color3}${cpubar cpu8 18}
${color1}All CPU ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 2 temp 1}ยฐC ${goto 250}${color1}Up: ${color green}$uptime