LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-17-2003, 06:22 PM   #1
Pinkdog
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Rep: Reputation: 15
temperature monitor


Hello all, i have slackware 9 installed on my laptop. I want to be able to monitor my cpu temp and other temps thats within my laptop.

I just want to monitor the temps. I know there are graphical apps out there called gkrellm and karamba. But do i have to have ACPI ,I2C, LM sensors etc all of them installed for the apps to work?

or can i just put in I2C, or acpi etc ??

thanks
Laura
 
Old 11-17-2003, 06:40 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I haven't managed to monitor temperature with
gkrellm yet, but I use a shell script to check
the ACPI information in /proc

Cheers,
Tink
 
Old 11-17-2003, 10:20 PM   #3
Pinkdog
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Original Poster
Rep: Reputation: 15
Would you like to share that script? =)

thanks
 
Old 11-17-2003, 10:38 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by Pinkdog
Would you like to share that script? =)

thanks
Now I'm embarrased :}

It's ugly, and very basic ... I still have to take
manual action if I think it's getting too warm...

Quote:
heat.sh#!/bin/bash
while [ 1 ]
do
temp=`cat /proc/acpi/thermal_zone/THM0/temperature | awk '{print $2}'`
if [ "$temp" -ge "70" ] ; then
xmessage "CPU Temp is $temp degrees"&
fi
sleep 15
done
Running it from .xsession


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Monitor calibration (color temperature) seanr Linux - Software 5 02-20-2006 10:00 AM
Temperature monitor - how hard to do? MainframeGuy Linux - Newbie 8 12-09-2004 08:13 AM
temperature monitor Sinatra Linux - Software 5 07-20-2004 02:53 PM
monitor motherboard/CPU temperature hamish Linux - Hardware 3 10-22-2003 08:32 AM
Hardware Temperature Monitor Odd_Bloke Linux - Newbie 1 10-04-2003 06:13 PM


All times are GMT -5. The time now is 10:17 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration