Conky cpu temp with dual core

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
colyn

Conky cpu temp with dual core

Post by colyn »

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}
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Brahim Salem

Re: Conky cpu temp with dual core

Post by Brahim Salem »

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
NM5TF

Re: Conky cpu temp with dual core

Post by NM5TF »

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
acpitz-virtual-0
Adapter: Virtual device
temp1:        +28.0°C  (crit = +95.0°C)

k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:   +50.0°C  
Core0 Temp:   +47.0°C  
Core1 Temp:   +48.0°C  
Core1 Temp:   +43.0°C  
tommy
Locked

Return to “Compiz, Conky, Docks & Widgets”