Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'CPU temperature and hardware sensor readouts in bash' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
CPU temperature and hardware sensor readouts in bash
Authored by: sfn on Oct 25, '05 09:12:03AM

Excellent, I have been looking for something like this to use rather than VNCing into my server box to check temperatures.

But, on a PowerMac G5 I get this:

Power Mac G5 PowerMac7,3 PowerPC G5 (3.0)
32 DRIVE BAY Celsius
43.375 BACKSIDE Celsius
56.75 U3 HEATSINK Celsius
0 SLOT 12V power
0 SLOT 5V power
0 SLOT 3.3V power
0.03213 SLOT COMBINED power
49.75 CPU A AD7417 AMB Celsius
0.00979 CPU A AD7417 AD1 adc
0.00535 CPU A AD7417 AD2 adc
0.00804 CPU A AD7417 AD3 adc
0.00256 CPU A AD7417 AD4 adc
42.5 CPU B AD7417 AMB Celsius
0.00875 CPU B AD7417 AD1 adc
0.00291 CPU B AD7417 AD2 adc
0.00801 CPU B AD7417 AD3 adc
0.00102 CPU B AD7417 AD4 adc

Note, the CPU AMB readings don't change over time for me. Only the U3 HEATSINK, AD1, AD4 do.

-s

---
-sfn



[ Reply to This | # ]
CPU temperature and hardware sensor readouts in bash
Authored by: mark hunte on Oct 25, '05 10:21:07AM
The first script seems to work ok on my G4 Powerbook 1.5 ghz For people like me who do not always use terminal I put it into a applescript for use with hotkeys
set get_temp to do shell script "path/to/script/tp -l"
display dialog get_temp buttons {"OK"} default button 1
should be very easy to put in Automator and you may want to put the 'display dialog in a tell block to get the finder to activate.

---
mh

[ Reply to This | # ]