Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Hey, my cpu is z80. Why does it only show the cores 0..79? – ott-- Dec 29 '12 at 19:40
up vote 4 down vote accepted

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.

share|improve this answer
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? – AlessioMTX Dec 30 '12 at 11:49
Well it is the total usage across all cpus, so it is actually the average. – cjh Dec 31 '12 at 0:21

Probably CPU0 or CPU4 shows summed load.

share|improve this answer
Saying 'probably' without doing research isn't a helpful answer, this could be better placed in a comment. – cjh Dec 30 '12 at 0:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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