On my laptop I performed an
nproc
in terminal and got a return of 8 cores for my CPU, so I enabled the default widget that comes with CM2, TeeJeeTech CPU Panel (8-core)all 8 graphs on the display are active, but I note that the frequency monitor for all 8 cores is identical all the time. I checked the code and its seems to be trying to call separate data:
Code: Select all
conky.text = [[
${color2}CPU ${color0} ${cpu cpu0}% ${color3}${cpubar cpu0 10,}
${cpugraph cpu0 100,400}${voffset -19}
${cpugraph cpu1 50,100}${cpugraph cpu2 50,100}${cpugraph cpu3 50,100}${cpugraph cpu4 50,100}${voffset -19}
${cpugraph cpu5 50,100}${cpugraph cpu6 50,100}${cpugraph cpu7 50,100}${cpugraph cpu8 50,100}
${font Ubuntu:size=10}${voffset -110}${color3}${goto 10}1 ${goto 110}2 ${goto 210}3 ${goto 0} ${goto 310}4 ${voffset 50}${goto 10}5 ${goto 110}6 ${goto 210}7 ${goto 310}8
${font Ubuntu:size=8}${voffset -67}${color3}${goto 58}${freq_g (1)}GHz ${goto 158}${freq_g (2)}GHz ${goto 258}${freq_g (3)}GHz ${goto 0} ${goto 358}${freq_g (4)}GHz ${voffset 50}${goto 58}${freq_g (5)}GHz ${goto 158}${freq_g (6)}GHz ${goto 258}${freq_g (7)}GHz ${goto 358}${freq_g (8)}GHz
]];
cpufreq-info -c 1 | grep 'current CPU frequency' | awk '{print $5}'
Using this utility, I was able to get accurate values for each core:
Code: Select all
logansfury@OptiPlex-5040:~$ { cpufreq-info -c 0 | grep 'current CPU frequency'; cpufreq-info -c 1 | grep 'current CPU frequency'; cpufreq-info -c 2 | grep 'current CPU frequency'; cpufreq-info -c 3 | grep 'current CPU frequency';} | awk '{print $5}'
1.94
2.22
2.20
2.58
logansfury@OptiPlex-5040:~$
Code: Select all
conky.text = [[
${color2}CPU ${color0} ${cpu cpu0}% ${color3}${cpubar cpu0 10,}
${cpugraph cpu0 50,400}${voffset -19}
${cpugraph cpu1 50,100}${cpugraph cpu2 50,100}${cpugraph cpu3 50,100}${cpugraph cpu4 50,100}${voffset -19}
${cpugraph cpu5 50,100}${cpugraph cpu6 50,100}${cpugraph cpu7 50,100}${cpugraph cpu8 50,100}
${font FuraCode Nerd Font:size=10}${voffset -110}${color3}${goto 10}1 ${goto 110}2 ${goto 210}3 ${goto 0} ${goto 310}4 ${voffset 50}${goto 10}5 ${goto 110}6 ${goto 210}7 ${goto 310}8
${font FuraCode Nerd Font:size=8}${voffset -67}${color3}${goto 58}${exec cpufreq-info -c 0 | grep 'current CPU frequency' | awk '{print $5}'}GHz ${goto 158}${exec cpufreq-info -c 1 | grep 'current CPU frequency' | awk '{print $5}'}GHz ${goto 258}${exec cpufreq-info -c 2 | grep 'current CPU frequency' | awk '{print $5}'}GHz ${goto 0} ${goto 358}${exec cpufreq-info -c 3 | grep 'current CPU frequency' | awk '{print $5}'}GHz ${voffset 50}${goto 58}${exec cpufreq-info -c 4 | grep 'current CPU frequency' | awk '{print $5}'}GHz ${goto 158}${exec cpufreq-info -c 5 | grep 'current CPU frequency' | awk '{print $5}'}GHz ${goto 258}${exec cpufreq-info -c 6 | grep 'current CPU frequency' | awk '{print $5}'}GHz ${goto 358}${exec cpufreq-info -c 7 | grep 'current CPU frequency' | awk '{print $5}'
}GHz
]];