Conky cpu temp with dual core

Forum rules
Before you post please read how to get help

Conky cpu temp with dual core

Postby colyn on Thu Jun 12, 2014 9:22 pm

I have started a new conky for a dual core machine. I'm using hwmon to get the cpu temp. The below code gets me CPU temp but I need the values to set up core 0 and core 1 temps.
Code: Select all
${color #00ff00}CPU Temp:$color ${hwmon 0 temp 1}°C ${color #00ff00}
User avatar
Level 6
Level 6
Posts: 1237
Joined: Sat Aug 14, 2010 1:37 pm
Location: ¿ǝɯ ǝǝs ɐʎ ʇ,uɐƆ ˙ǝɹǝɥ ʇɥƃᴉɹ ɯ,I

Linux Mint is funded by ads and donations.

Re: Conky cpu temp with dual core

Postby Zorba on Fri Jun 13, 2014 1:13 am

I got this code from my .conkyrc:

Code: Select all
Core 1: ${freq 1} MHz Temprature: $color ${exec sensors|grep ‘Core0′|awk ‘{print $3}’}

${cpu cpu1}% ${color 597DB2}${cpubar cpu1}$color

Core 2: ${freq 2} MHz Temprature: $color ${exec sensors|grep ‘Core1′|awk ‘{print $3}’}

${cpu cpu2}% ${color 597DB2}${cpubar cpu2}$color
User avatar
Level 8
Level 8
Posts: 2275
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Re: Conky cpu temp with dual core

Postby NM5TF on Sun Jul 20, 2014 12:10 am

I use the following for my AMD K8 dual core:

Code: Select all
Temperatures ${alignr}${color3}${execi 2 sensors k8temp-pci-00c3 -A -f}

if you type sensors into a terminal you should see something like this:

Code: Select all
tommy3@tommy3-Inspiron-531s:~$ sensors
Adapter: Virtual device
temp1:        +28.0°C  (crit = +95.0°C)

Adapter: PCI adapter
Core0 Temp:   +50.0°C 
Core0 Temp:   +47.0°C 
Core1 Temp:   +48.0°C 
Core1 Temp:   +43.0°C 

Linux Mint 17.2 Rafaela, Arch Linux , Fedora 22
Registered Linux User # 529389
my improved web page
User avatar
Level 1
Level 1
Posts: 49
Joined: Sat Feb 16, 2013 10:10 pm
Location: Magdalena, New Mexico

Return to Compiz, Conky, Docks, & Widgets

Who is online

Users browsing this forum: No registered users and 4 guests