-   Linux - Software (
-   -   how to get cpu temperature (

taoweijia 02-12-2004 09:38 AM

how to get cpu temperature
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:

and is there a file which contains the cpu temperature?


frogman 02-12-2004 10:29 AM

hddtemp (you might have it installed already, if not: ) can display the temperature of SMART - enabled hard drives. You need to be root to run it.

taoweijia 02-12-2004 09:18 PM

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?

frogman 02-13-2004 06:04 PM

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.

All times are GMT -5. The time now is 11:41 AM.