Jump to content

Simple (?) Assistance

  • Please log in to reply
1 reply to this topic



    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts

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?


el coniglio

el coniglio

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 101 posts
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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy