Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rate Thread Display Modes
Old 08-05-2006, 04:51 PM   #1
robh
Triple-A Player
 
Join Date: Jan 2002
Location: Goolwa, South Australia
Posts: 101
view/change processor performance, view temperatures/fanspeed

G'day all,

I want to write a script that will check the temperature of my quad G5's tunnel heatsink (or maybe one of the other 8+ temperatures available via istatpro, or one of the fan speeds) and then set the processor performance based on it.

Basically, if the machine's real hot and noisy, drop from 'Highest' performance to 'Automatic', and if the machine's nice and cool, crank up the performance. This'll let my background Folding@Home jobs run at optimum speed without unnecessary noise.

Can someone point me in the direction of info on how to access the relevant info so that I can write the script.

thanks.
robh is offline   Reply With Quote
Old 08-06-2006, 12:11 AM   #2
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 31,941
To get the temperature info, look at one of the open-source utilities that display temperature sensor readings - e.g. "X Resource Graph"

I think you can use the command-line utility /usr/bin/pmset to change the processor speed. Read 'man pmset'
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 09:31 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.