You are not logged in.

#1 2012-10-22 02:13:05

Sebrithil
Member
Registered: 2012-08-20
Posts: 15

[SOLVED]Conky and the phantom CPU

So I am running Conky with Fluxbox on a laptop with a duel core CPU. Playing around with Conkys different output and variables trying to get a set up I liked. I notice I was able to monitor three CPUs when there should only be two. I can't seem to find any documentation on why this would be. All output different numbers is it possible one is the sum of each core added together? I also noted that if I add ${cpu cpu3} to the code below it does not show a fourth or more CPUs.

${color}CPU: ${cpu cpu0}%
${color}CPU: ${cpu cpu1}%
${color}CPU: ${cpu cpu2}%

If someone could shed some light on this for me and maybe let me know which ones I should be using it would be greatly appreciated.

Last edited by Sebrithil (2012-10-22 02:41:18)

Offline

#2 2012-10-22 02:15:39

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Conky and the phantom CPU

gpu?

Offline

#3 2012-10-22 02:28:30

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED]Conky and the phantom CPU

The conky man page has the information you need, and so does the online conky documentation: http://conky.sourceforge.net/variables.html

man conky

cpu (cpuN)
    CPU usage in percents. For SMP machines, the CPU number can be provided as an argument. ${cpu cpu0} is the total usage, and ${cpu cpuX} (X >= 1) are individual CPUs.

Last edited by 2ManyDogs (2012-10-22 02:30:29)

Offline

#4 2012-10-22 02:33:08

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Conky and the phantom CPU

Yeah, that is much more practical.

Offline

#5 2012-10-22 02:40:26

Sebrithil
Member
Registered: 2012-08-20
Posts: 15

Re: [SOLVED]Conky and the phantom CPU

Ok yeah that is what I thought was going on and that is actually the page I was using to help set up my conkyrc. Guess I just missed it sorry and thank you for the heads up.

Offline

Board footer

Powered by FluxBB