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: nsxpower on Oct 25, '05 07:35:16AM

PowerBook G4 Titanium don't have a temperature sensor, hence the reason why the script wont give you a proper read out. Rev.A AliBooks and up have these sensors, as well as most G3 PBooks/iBooks.



[ Reply to This | # ]
CPU temperature and hardware sensor readouts in bash
Authored by: wgscott on Oct 25, '05 09:43:30AM

I have a little application called "Temperature Monitor Lite" that reads the CPU temp and puts it in the menu bar.

So the information must be made available by the system.



[ Reply to This | # ]
CPU temp & HW readouts - macmini doesnt have sensors?!
Authored by: zahadum on Jun 07, '06 04:55:19PM
it would be useful if there was list of which machines had which sensors ... once again apple cant even do the basics; hopefully someones else knows. a gui variation of this script returns almost no info at all for the macminbi :-( cf: http://bbs.applescript.net/viewtopic.php?pid=47578 sigh.

---
mailto:osxinfo _at_ yahoo.ca


[ Reply to This | # ]

CPU temperature and hardware sensor readouts in bash
Authored by: 31d1 on Oct 25, '05 07:50:32AM

If you aren't getting any data with this script, look at the output of `ioreg -n IOHWSensor | more`. If there aren't any sections that look like:

| | | | "Power Management protected data" = "{ theNumberO$
| | | | "polling-period" = 5
| | | | "current-value" = 2850816
| | | | "low-threshold" = 0
| | | | "location" = "HDD BOTTOMSIDE"
| | | | "type" = "temperature"
| | | | "high-threshold" = 3538944
| | | | "CFBundleIdentifier" = "com.apple.driver.AppleHWS$
| | | | "IOClass" = "IOHWSensor"
| | | | "IOPropertyMatch" = {"device_type"="temp-sensor"}
| | | | "version" = 1
| | | | "zone" = <00000000>
| | | | "IOProbeScore" = 0
| | | | "Power Management private data" = "{ this object $
| | | | "IOMatchCategory" = "IODefaultMatchCategory"
| | | | "IOProviderClass" = "IOService"
| | | | "sensor-id" = 0

then this thing won't work.

If there ARE some sections like that, then my parsing is off and I should have to fix that.



[ Reply to This | # ]