LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-19-2004, 10:27 PM   #1
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Rep: Reputation: 15
CPU Temperature in LInux?


Hi,
Is there any programm so that I can know my CPU Temperature?
I have a AMD Athlon XP 2200+
Thanks
 
Old 02-19-2004, 10:29 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
lm_sensors would be just the thing your looking for it ...
to check and see if you already have it installed just type 'sensors' in the terminal
it will say "no sensors found" if it is
then use "sensors-detect" to set it up ..
 
Old 02-19-2004, 10:36 PM   #3
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Original Poster
Rep: Reputation: 15
Ok, downloaded it but can't install it....Nothing in the install-readme
 
Old 02-19-2004, 10:46 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well in the link i gave you there is a link on that page to the homepage for lm_sensors, and there is FAQ's and docs .... shown below
http://www2.lm-sensors.nu/~lm78/docs.html

and i don't know what kernel you have, but if you did upgrade to a 2.6.x kernel then there is also a section on that site that might be worth reading ..
 
Old 02-19-2004, 10:52 PM   #5
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Original Poster
Rep: Reputation: 15
Ok, but I don't know where I can find the i2c package....I already googled
 
Old 02-19-2004, 11:37 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
weird ... in under 5 seconds i got
http://secure.netroedge.com/~lm78/ar...c-2.8.1.tar.gz
http://secure.netroedge.com/~lm78/ar...s-2.8.1.tar.gz

i2c and lmsensors version 2.8.1

and thats by googling ....

simply using lmsensors homepage you get the following ...
http://www2.lm-sensors.nu/~lm78/download.html

so you didn't look to hard d00d ...
 
Old 02-19-2004, 11:44 PM   #7
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Original Poster
Rep: Reputation: 15
I'm sorry...I just didn't knew what i2c was and in the documentation it says that I need the i2c package but I found so many different ones that I was confused....
Sorry..
Now it should work...
Thanks very much!
 
Old 02-19-2004, 11:49 PM   #8
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Original Poster
Rep: Reputation: 15
OhOh!
Error:
[fedivh@localhost fedivh]$ sensors
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs!
For older kernels, make sure you have done 'modprobe i2c-proc'!

As root the same.
I have installed everything like the quick-start manual on the webpage of lmsensors
 
Old 02-20-2004, 12:53 PM   #9
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
Quote:
For 2.6 kernels, make sure you have mounted sysfs!
For older kernels, make sure you have done 'modprobe i2c-proc'!
one of these has to pertain to you ...

http://www2.lm-sensors.nu/~lm78/kernel26.html

did you read this, or is that not the problem ?
what kernel are you running ?

Last edited by DrOzz; 02-20-2004 at 12:55 PM.
 
Old 02-20-2004, 04:51 PM   #10
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
i2c is already installed with Mandrake 9.2 so all you need to do is use the package manager to add lm_sensors, which is also included with the distro but not installed by default. Then run sensors-detect and edit modules.conf and rc.local to add the lines it'll tell you to add.
 
  


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
CPU temperature Sc0pE Linux - Software 2 05-22-2005 06:10 PM
cpu temperature alaios Linux - Hardware 4 09-21-2004 05:30 PM
High CPU temperature Inexactitude Linux - Hardware 6 04-28-2004 03:45 AM
how to get cpu temperature taoweijia Linux - Software 3 02-13-2004 07:04 PM
CPU Temperature Cubiq Programming 3 04-06-2002 12:04 PM


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