1

I' m trying to setup conky and I saw that I can use from cpu0 to cpu4

CPU0 ${cpu cpu0}% ${cpubar cpu0}
CPU1 ${cpu cpu1}% ${cpubar cpu1}
CPU2 ${cpu cpu2}% ${cpubar cpu2}
CPU3 ${cpu cpu3}% ${cpubar cpu3}
CPU4 ${cpu cpu4}% ${cpubar cpu4}

Why I have 5 cpu % if I go over cpu4, example:

CPU5 ${cpu cpu5}% ${cpubar cpu5}

It doesn' t show any % ??

I have an Intel i5, so I suppose that is a quad-core, right? CPU0 what shows?

0

2 Answers 2

6

cpu0 is the average load, cpuN (where N >=1) is the load only on the Nth Cpu.

Excerpt from conky objects

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.

2
  • Thank you, very helpful. But CPU0 doesn't show the sum, because CPU1 is 11%, CPU2 is 9%, CPU3 is 3% and CPU4 2% at the moment and CPU0 shows 6%. So maybe is Media, right?
    – Mitro
    Dec 30, 2012 at 11:49
  • Well it is the total usage across all cpus, so it is actually the average.
    – cjh
    Dec 31, 2012 at 0:21
-2

Probably CPU0 or CPU4 shows summed load.

1
  • 3
    Saying 'probably' without doing research isn't a helpful answer, this could be better placed in a comment.
    – cjh
    Dec 30, 2012 at 0:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.