LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-19-2006, 01:18 PM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
Monitoring CPU temp


Hi everyone,

Just a quick question for anyone who knows....

I want to monitor the temperature of my CPU while in Linux. My motherboard (nForce w/Award bios) has this feature along with monitoring CPU fan speed. I have searched the net (and these forums) and learned about lm_sensors, which I installed, and a front end called GKllM. I installed lm_sensores and went through the sensor_detect routine and it found the board I2C eeprom, but nothing else happened and when I run "sensors", I get "no sensors found".

My question is: Since the motherboard bios is constandly monitoring this data, is there a way to access this information directly from the BIOS within Linux, or is some additional hardware necessasry?

Any help appreciated.


Bob
 
Old 04-19-2006, 01:37 PM   #2
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
lm_sensors does actually access the information from the BIOS. The problem I have seen recently, at least with our new boards, is that lm_sensors has not quite caught up with a number of the new BIOS chipsets, and therefore while it detects them, does not know what to do with them.
 
Old 04-19-2006, 01:51 PM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thanks for the information, which is what I suspected because the sensors-detect routine seemed to find everything OK. Just though there might be something I didn't know about built into Linux that might access BIOS data directly.

There is a gadget for SuperKaramba in KDE which monitors CPU temp but I assume it also uses lm_senosrs somehow. But that is in Fedora only, I believe, and I wanted to do it in Slackware anyway.

Oh, well, just have to reboot to check, I guess.

Thanks for your help.

Bob
 
Old 04-19-2006, 01:55 PM   #4
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
One thing to do is to keep an eye out for updates for lm_sensors and kernel updates. It will very likely get into the stream eventually, it just hasn't done so yet.
 
Old 04-19-2006, 02:17 PM   #5
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
I have found tons of little desktop applets for Gnome and KDE that will do this, but virtually all of them use lm_sensors, so I guess it is pointless to download any of them.

Thanks

Bob
 
Old 04-19-2006, 02:58 PM   #6
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Rep: Reputation: 19
modprobe thermal

if you don't have this module, then you may want to consider recompiling...it will update a file /proc/acpi/thermal/CPUx/state with the current temperature.

I wrote a simple python script that will go into that file and do some stuff with it and print it out. I have the script in case you may be interested. Try modprobing thermal and see if it works
 
Old 08-27-2007, 07:55 PM   #7
peligrorice
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Maybe stupid, maybe too obvious

FYI: I received the same messages as you did above "no sensors detected" when lm_sensors was not running. This may be just simple enough to have easily missed:

/etc/rc.d/init.d/lm_sensors start
 
  


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
nForce 4 CPU temp monitoring Slagathor Linux - Software 5 02-19-2006 11:44 PM
Monitoring CPU temp.? NSKL Linux - General 28 06-21-2002 09:11 PM
monitoring cpu temp within linux jonfa Linux - General 7 02-24-2002 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:20 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
Open Source Consulting | Domain Registration