1753856 Members
7226 Online
108808 Solutions
New Discussion юеВ

Detect CPU temperature

 
SOLVED
Go to solution
j773303
Super Advisor

Detect CPU temperature

RedHat Linux 4.0 on hp rx5670 - ItamiunII

Does anyone has the experience which tool support detect CPU temperature on Linux 4.0 ?
Thanks ..
Hero
5 REPLIES 5
Chakravarthi
Trusted Contributor

Re: Detect CPU temperature

not sure for redhat 4.0 or not, but try installing the tools from the following site

http://www.techiekb.com/~drew/rpms/

i could use them on 6.0

Georg Tresselt
Honored Contributor

Re: Detect CPU temperature

First question is: Does your HW support that? Is there a temperature sensor? I have seen that with enterprise scale servers from different vendors, but not with odinary PCs. If you have indeed such a sensor you need some kind of driver or agent to read its values. Check your HW vendor's website/documentation.
http://www.tresselt.eu
RAC_1
Honored Contributor

Re: Detect CPU temperature

doesn't cat /proc/cpu show that??
There is no substitute to HARDWORK
Huc_1
Honored Contributor
Solution

Re: Detect CPU temperature

a cat /proc/cpuinfo on all the linux's system I have tryed did not tell anything about temperature, but then none of them had a temperature sensor
On most system (RedHat,fedora,Suse ) you should have a service called lm_sensors this will tell you about various temperatures if you have the right kind of chip(s)/board(s).
If your distribution includes lm_sensors have a look at
man sensors
man sensors-detect
and try (your distribution may put this in a diff location)
/usr/bin/sensors -h
/usr/sbin/sensors-detect -h

you should also find some more informations in /usr/share/doc/lm-sensors*

Hope this helps

Jean-Pierre

Smile I will feel the difference
Ross Minkov
Esteemed Contributor

Re: Detect CPU temperature

I use hplog to get this kind of info on HP ProLiant servers.

hplog - hp ProLiant Integrated Management Logging (IML) utility

Here is an example:
( hplog -t = print the current thermal sensor data)

# hplog -t
ID TYPE LOCATION STATUS CURRENT THRESHOLD
1 Maxim 1617 CPU (1) Nominal 86F/ 30C 154F/ 68C
2 Maxim 1617 CPU (2) Nominal 84F/ 29C 154F/ 68C
3 Maxim 1617 CPU (3) Nominal 82F/ 28C 154F/ 68C
4 Maxim 1617 CPU (4) Nominal 82F/ 28C 154F/ 68C
5 LM75 Sensor Processor Zone Nominal 80F/ 27C 125F/ 52C
6 LM75 Sensor Memory Board Nominal 77F/ 25C 125F/ 52C
7 LM75 Sensor I/O Zone Nominal 69F/ 21C 123F/ 51C
8 Internal PS Pwr. Supply Bay Nominal ---F/---C 149F/ 65C
9 Internal PS Pwr. Supply Bay Nominal ---F/---C 149F/ 65C

I think the HP Insight management agents are now available for HP Itanium servers too. Check hp.com

Regards,
Ross