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


Click here to return to the 'CPU temp & HW readouts - macmini doesnt have sensors?!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
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 | # ]