You are not logged in.

#1 2015-03-03 12:29:19

rado3105
Member
Registered: 2011-10-09
Posts: 103

Number of cores in Conky (intel sandy bridge)

Hi, I have mobile Intel core i3-2310m CPU with 2 real cores and 4 threads.
I use conky to monitor usage.

CPU: ${cpu cpu0}%   ${cpubar cpu0 6}
CPU: ${cpu cpu1}%   ${cpubar cpu1 6}
CPU: ${cpu cpu2}%   ${cpubar cpu2 6}
CPU: ${cpu cpu3}%   ${cpubar cpu3 6}
CPU: ${cpu cpu4}%   ${cpubar cpu4 6}

But I dont know which of this parameters is real core, which is general for all cores?
can anybody help? thanks

Last edited by rado3105 (2015-03-03 12:32:12)

Offline

#2 2015-03-03 12:39:39

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Number of cores in Conky (intel sandy bridge)

Just read the documentation for the cpu object; either the man page or online.

Edit: documentation covers general/total usage and individual CPUs. With hyperthreading your i3 would present 4 individual CPUs (and I think that's all conky sees), even if there are only 2 real cores.

Last edited by Raynman (2015-03-03 12:42:48)

Offline

#3 2015-03-03 14:13:14

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: Number of cores in Conky (intel sandy bridge)

Raynman wrote:

With hyperthreading your i3 would present 4 individual CPUs (and I think that's all conky sees), even if there are only 2 real cores.


With my friends i3-2370M, conky sees four individual CPUs, even though it is 2 cores and 4 threads.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#4 2015-03-08 09:59:58

rado3105
Member
Registered: 2011-10-09
Posts: 103

Re: Number of cores in Conky (intel sandy bridge)

But my conky see 5 cores...and that is the problem.... or there are 4 hyperthreading and one core as sum of all?

Offline

#5 2015-03-08 10:04:36

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Number of cores in Conky (intel sandy bridge)

rado3105 wrote:

But my conky see 5 cores...and that is the problem.... or there are 4 hyperthreading and one core as sum of all?

Raynman wrote:

Just read the documentation for the cpu object; either the man page or online.

Offline

#6 2015-03-08 10:10:59

rado3105
Member
Registered: 2011-10-09
Posts: 103

Re: Number of cores in Conky (intel sandy bridge)

Thanks, as I supposed, cpu0 is total usage of all cores....

Offline

Board footer

Powered by FluxBB