LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-11-2008, 08:48 PM   #1
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Rep: Reputation: 174Reputation: 174
Question Super Karamba + Sensors


I feel like an idiot for having to ask this but I have been searching for hours, looking at examples, reading FAQ's and MAN pages for and I cannot find the answer that I need.

I what I am trying to do is to add a sensor to a theme that I am creating. What I want is to see the temperature for each core for an AMD Athlon 64 X2. I have no problem getting the system temp to work in a theme. Also, I know that my sensors are working properly as exhibited below:

Code:
sqdnguns@JARHEAD ~$ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:
             +40°C
Core1 Temp:
             +38°C

it8716-isa-0290
Adapter: ISA adapter
VCore:     +1.10 V  (min =  +0.00 V, max =  +4.08 V)
VDDR:      +2.48 V  (min =  +0.00 V, max =  +4.08 V)
+3.3V:     +1.78 V  (min =  +0.00 V, max =  +4.08 V)
+5V:       +5.59 V  (min =  +0.00 V, max =  +6.85 V)
+12V:     +11.97 V  (min =  +0.00 V, max = +16.32 V)
in5:       +1.17 V  (min =  +0.00 V, max =  +4.08 V)
in6:       +2.86 V  (min =  +0.00 V, max =  +4.08 V)
5VSB:      +4.92 V  (min =  +0.00 V, max =  +5.13 V)
VBat:      +3.07 V
fan1:     1442 RPM  (min =    0 RPM)
fan2:     1092 RPM  (min =    0 RPM)
temp1:       +35°C  (low  =  +127°C, high =   +65°C)   sensor = diode
temp2:       +40°C  (low  =  +127°C, high =  +127°C)   sensor = thermistor
temp3:       +25°C  (low  =  +127°C, high =  +127°C)   sensor = thermistor
vid:      +1.525 V
I have come across a few themes that have the following but I get squat for my PC.

Code:
text x=20 y=195 value="Core 0 Temp:"
text x=100 y=195 sensor=program program="sensors | grep 'Core 0' | cut -d' ' -f8 | cut -d'+' -f2" interval=1000

text x=20 y=210 value="Core 1 Temp:"
text x=100 y=210 sensor=program program="sensors | grep 'Core 1' | cut -d' ' -f8 | cut -d'+' -f2" interval=1000
Code:
text x=98 y=30 sensor=program program="sensors | grep temp2: | awk '{ print $2 }' | sed 's/+//' | line 1" align=right interval=500

text x=98 y=30 sensor=program program="sensors | grep temp1: | awk '{ print $2 }' | sed 's/+//' | line 2" align=right interval=500
I would appreciate if anyone can show me what I am doing wrong.

Thanks!!
 
Old 05-13-2008, 03:53 AM   #2
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Original Poster
Rep: Reputation: 174Reputation: 174
Well, I couldn't figure out what it was so I just used the following:

Code:
sensor=program program="cat /proc/acpi/thermal_zone/THRM/temperature | awk '{print $2}'" line=1 interval=3000
Here is the current result, I've got more tweaking to do:

http://i62.photobucket.com/albums/h1...apshot11-1.png
 
Old 05-18-2008, 06:09 PM   #3
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Original Poster
Rep: Reputation: 174Reputation: 174
Posted the working solution here:

http://www.linuxquestions.org/questi...9/#post3157383
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
super karamba install..? captain skywave Linux - Software 8 06-11-2005 04:43 PM
karamba *not super karamba* whishkah Linux - Software 1 09-28-2004 09:59 AM
Super Karamba Help Matt.Ramos Linux - Software 3 07-15-2004 03:38 PM
super karamba JMK Linux - Newbie 2 02-16-2004 04:24 PM
Super Karamba with Mandrake 9.2 deejayqf Mandriva 2 01-30-2004 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration