LinuxQuestions.org
Visit Jeremy's Blog.
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 08-02-2003, 05:50 PM   #1
InDIo
LQ Newbie
 
Registered: Jul 2003
Location: Greece
Distribution: Red Hat
Posts: 18

Rep: Reputation: 0
CPU temp program..


Hi all. I 'm setting up a RH9 server to serve it's duties as a router-FTP-game server for our Wireless Network here in Patras, Greece.

It is an old 450MHz PIII slot A cpu-mobo. I want to be able to monitor every temprature that is available, through the OS, not the bios. What utilities are there? Then I could make the system shut down if temps get too high(or is there a more graceful way to handle that situation?).

Thanx!
 
Old 08-02-2003, 09:15 PM   #2
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
lm_sensors to see the temp. There are several frontends for it, gkrellm is most popular/nice probably. For shutting the pc down not really sure. I just have that set in the bios. One idea that comes to my head although probably dumb is to set up a script that runs sensors every few minutes, greps the results and if temp is to high to issue a halt -n.
 
Old 08-03-2003, 06:49 AM   #3
InDIo
LQ Newbie
 
Registered: Jul 2003
Location: Greece
Distribution: Red Hat
Posts: 18

Original Poster
Rep: Reputation: 0
Thank you. Is lm_sensors a module? I need to see the temps only in command-line, what "front-ends" are there?
 
Old 08-03-2003, 08:25 AM   #4
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
This is the home page. You are going to need i2c also. After you extract lm-sensors, there will be a file called 'quickstart' just follow that.

Front end would be to show the temps 24/7 like in your panel or on your desktop. You can even run gkrellm on your desktop and it will be monitoring your sever.
 
Old 08-03-2003, 08:27 AM   #5
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
No, lm_sensors isn't a module, its just a command-line programm. The frontend I use is gkrellm. If you want to measure the temp, you need i2c support as well. i2c is most likely a kernel module and needs to be configured. However it's likely that redhat already has set it up for you - I can't tell. I never used Redhat
 
Old 08-03-2003, 04:32 PM   #6
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Rep: Reputation: 30
cheers for this
 
Old 08-09-2003, 06:11 AM   #7
InDIo
LQ Newbie
 
Registered: Jul 2003
Location: Greece
Distribution: Red Hat
Posts: 18

Original Poster
Rep: Reputation: 0
I managed to recompile-install everything, no errors except the ...harmless ones. I run the script that is supposed to detect the sensors on my HW. It tries to detect my i810(i think), but it just stops responding, and if don't let it detect the 810, it goes on with the graphics card detection. But then it hangs again...

No luck, any ideas?
 
Old 08-09-2003, 12:02 PM   #8
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
Try it with the SNMP protocol. This will give you alot of info about your hardware and also the cpu temperature if your lucky.
 
Old 08-09-2003, 12:15 PM   #9
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
look around for running sensors on your specific board...i know for example my uncles mobo which is a k7s5a he has to insert something different in the rc.* files rather than what sensors-detect tells him to insert after configuring...so there may be also a specific issue with yourself...and he also has to edit the sensors.conf file to rename a couple things as the output is wrong according to sensors where temp1 is cpu but it outputs that its something else etc, etc....so you may have a specific issue with your board.....so it may be worth while to search google and see if you come up with something.
and i just noticed how you said it detected the i810 (you think) but as i said above in my uncles case what it detected was wrong and we did a search and found the proper sensor it really uses.
 
Old 08-09-2003, 04:51 PM   #10
InDIo
LQ Newbie
 
Registered: Jul 2003
Location: Greece
Distribution: Red Hat
Posts: 18

Original Poster
Rep: Reputation: 0
Sorry pk21, but what on earth does SNMP has to do with what I'm doing?? I guess I 'm missing something!
 
  


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
How to get the cpu temp? jon_k Linux - Software 1 10-26-2004 01:13 AM
cpu temp program ??(suse 9.1) starking Linux - Software 2 07-11-2004 11:42 AM
Cpu Temp. DavidTempler Linux - Software 3 10-16-2003 10:49 AM
cpu temp zaman Linux - Hardware 21 07-17-2003 10:21 AM
CPU Temp. moger Linux - Hardware 5 12-22-2002 07:25 PM

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

All times are GMT -5. The time now is 11:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration