LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-12-2004, 09:38 AM   #1
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Rep: Reputation: 30
how to get cpu temperature


hi,
i need to get the cpu temp and harddisk temp if possible, i tried i2c and lm_sensors but it doesn't work for my platform. i tried tempcheck, it doesn't work for my cpu, c3 on via epia mini-itx 800.
is there a program you could recommend?

i found some files in the /proc dir
the uptime file shows me two numbers, what do they mean?

and what about the contents in this files:
loadavg

and is there a file which contains the cpu temperature?

thanks
 
Old 02-12-2004, 10:29 AM   #2
frogman
Member
 
Registered: Sep 2003
Distribution: Mandrake, Slack, Debian and PicoBSD
Posts: 181

Rep: Reputation: 30
hddtemp (you might have it installed already, if not: http://freshmeat.net/projects/hddtemp/ ) can display the temperature of SMART - enabled hard drives. You need to be root to run it.
 
Old 02-12-2004, 09:18 PM   #3
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Original Poster
Rep: Reputation: 30
i can't run hddtemp

thanks, i compiled and intalled that hddtemp, it installed without any error but when i run hddtemp, it says command not found, i checked /usr/local/bin , hddtemp isn't there.
what is wrong?
thanks
 
Old 02-13-2004, 06:04 PM   #4
frogman
Member
 
Registered: Sep 2003
Distribution: Mandrake, Slack, Debian and PicoBSD
Posts: 181

Rep: Reputation: 30
Assuming you ran hddtemp as root, I would guess it isn't in your path

su to root and see what "locate hddtemp" or "find / | grep hddtemp" gives you.

I'm not on a *nix box at the moment, but it may be in /sbin/ because (IIRC) the default is that normal users don't have access.
 
  


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 05:10 PM
CPU Temperature thresholds. liguorir Solaris / OpenSolaris 1 10-15-2004 10:59 AM
cpu temperature alaios Linux - Hardware 4 09-21-2004 04:30 PM
CPU Temperature in LInux? fedivh Linux - Hardware 9 02-20-2004 03:51 PM
CPU Temperature Cubiq Programming 3 04-06-2002 11:04 AM


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

Main Menu
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