Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Simple (?) Assistance

2 posts in this topic

Recommended 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?




Share this post

Link to post
Share on other sites

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.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.