Reinheimer Posted July 10, 2010 Share Posted July 10, 2010 Hi! I've been driving an iMac G4 until some money comes our way to replace it with, well maybe an iMac G7 The cooling fan has gone out and all I wanna do is have my iMac shut down when a certain temperature is reached (that is, until I can replace that fan). I'm starting from square-one in programing and looking for any assistance anyone might be able/willing to offer. Seems to me this shouldn't be TOO difficult. any takers out there? Reinheimer Link to comment https://www.insanelymac.com/forum/topic/224588-simple-assistance/ Share on other sites More sharing options...
el coniglio Posted July 12, 2010 Share Posted July 12, 2010 Hey, you can go simple and try going (this should work on G3/G4), ioreg -n IOHWSensor and parse data then (if necessary) shutdown -h now If you don't have the data you need in ioreg then you should verify those applications that monitor the temperatures (and prob have a kext to do it), check if there is an API to access the data or a bash command you can use to dump data or get a specific sensor value. Link to comment https://www.insanelymac.com/forum/topic/224588-simple-assistance/#findComment-1509717 Share on other sites More sharing options...
Recommended Posts