LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CPU temp program.. (https://www.linuxquestions.org/questions/linux-software-2/cpu-temp-program-78422/)

InDIo 08-02-2003 05:50 PM

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!

wr3ck3d 08-02-2003 09:15 PM

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.

InDIo 08-03-2003 06:49 AM

Thank you. Is lm_sensors a module? I need to see the temps only in command-line, what "front-ends" are there?

wr3ck3d 08-03-2003 08:25 AM

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.

Config 08-03-2003 08:27 AM

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

Devboy 08-03-2003 04:32 PM

cheers for this :)

InDIo 08-09-2003 06:11 AM

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?

pk21 08-09-2003 12:02 PM

Try it with the SNMP protocol. This will give you alot of info about your hardware and also the cpu temperature if your lucky.

DrOzz 08-09-2003 12:15 PM

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.

InDIo 08-09-2003 04:51 PM

Sorry pk21, but what on earth does SNMP has to do with what I'm doing?? I guess I 'm missing something!


All times are GMT -5. The time now is 04:41 PM.