You are not logged in.

#1 2012-04-15 14:35:11

ancleessen4
Member
From: Luxembourg
Registered: 2009-11-22
Posts: 121
Website

[Solved] Conky cpu temp config.

I am trying to get conky to display my cpu temp from my Asus Sabertooth 990X motherboard.

[neil@sabertooth ~]$ sensors
fam15h_power-pci-00c4
Adapter: PCI adapter
power1:       11.99 W  (crit =  95.04 W)

k10temp-pci-00c3
Adapter: PCI adapter
temp1:         +6.8°C  (high = +70.0°C)
                       (crit = +90.0°C, hyst = +87.0°C)

nouveau-pci-0100
Adapter: PCI adapter
temp1:        +49.0°C  (high = +100.0°C, crit = +110.0°C)

it8721-isa-0290
Adapter: ISA adapter
in0:          +2.80 V  (min =  +2.00 V, max =  +1.50 V)  ALARM
in1:          +2.86 V  (min =  +2.45 V, max =  +2.99 V)
in2:          +1.01 V  (min =  +3.05 V, max =  +2.47 V)  ALARM
+3.3V:        +3.36 V  (min =  +0.36 V, max =  +3.72 V)
in4:          +0.65 V  (min =  +2.87 V, max =  +2.77 V)  ALARM
in5:          +2.51 V  (min =  +2.84 V, max =  +1.22 V)  ALARM
in6:          +2.06 V  (min =  +2.29 V, max =  +2.28 V)  ALARM
3VSB:         +2.52 V  (min =  +5.88 V, max =  +4.56 V)  ALARM
Vbat:         +3.31 V  
fan1:           0 RPM  (min =   14 RPM)  ALARM
fan2:           0 RPM  (min =   20 RPM)  ALARM
fan3:           0 RPM  (min =   11 RPM)  ALARM
temp1:        +33.0°C  (low  =  -5.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +29.0°C  (low  =  -9.0°C, high =  -6.0°C)  sensor = thermistor
temp3:       -128.0°C  (low  = -34.0°C, high = -66.0°C)  sensor = disabled
intrusion0:  OK

Conky config line at the moment;
${execi 60 sensors | grep "temp1:"} °C

gives me;

2012_04_15_1334500321_302x203_scrot.jpg

The problem is that there are 3x'temp1' possibilities.
I want to display this 'temp1';
temp1:        +33.0°C  (low  =  -5.0°C, high = +127.0°C)  sensor = thermistor

How do I set the cony config line to display this thermistor?

Last edited by ancleessen4 (2012-04-16 19:51:31)

Offline

#2 2012-04-15 14:56:31

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [Solved] Conky cpu temp config.

Why are you using execi, when conky has internal temp support that is much more efficient?

${hwmon temp 1}°

Read conky's documentation on how to find the right value.

Offline

#3 2012-04-15 18:31:12

ancleessen4
Member
From: Luxembourg
Registered: 2009-11-22
Posts: 121
Website

Re: [Solved] Conky cpu temp config.

@Gusar
Thanks for the tip.

I am now using;
CPU temp:$alignr${hwmon 4 temp 1}°C

and this gives the following output;

2012_04_15_1334514621_304x160_scrot.jpg


How do I get rid of the 'A' character?

Offline

#4 2012-04-15 18:49:14

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [Solved] Conky cpu temp config.

ancleessen4 wrote:

How do I get rid of the 'A' character?

Good question. I don't have it. I'm using conky-1.8.1 though.

Offline

#5 2012-04-16 19:51:06

ancleessen4
Member
From: Luxembourg
Registered: 2009-11-22
Posts: 121
Website

Re: [Solved] Conky cpu temp config.

Thanks to some further input from the guys over at Archbang and some further research I found the solution (a) to remove the weird 'A' character;
http://crunchbanglinux.org/forums/topic … ut-solved/

So, in conky I had to change;

override_utf8_locale no

to

override_utf8_locale yes

And (b) just for reference, I now have two options for cpu temp;

CPU temp option1:$alignr${hwmon 4 temp 1}°C
CPU temp option2:$alignr${execi 10 sensors | grep ^temp1 | tail -n 1 |awk '{print $2}'}

Thanks for all the help everybody.

Offline

Board footer

Powered by FluxBB