Re: Processor Temp
Re: Processor Temp
- Subject: Re: Processor Temp
- From: Sam Hart <email@hidden>
- Date: Fri, 16 Jan 2004 13:53:50 +0000
Robert wrote:
Is there a way to get the processor temp via terminal in OS X?
I doubt it
There used to be a function called something like
getCoreProcessorTemperature() in pre-OSX,
however I think it has been deprecated ( it was commented out in the
header ).
The reason it doesn't appear ( if my memory serves me correct ) is that
not all PPC support
manual calibration of the TAU, I can only assume that the chip handles
it, but I could be wrong.
I'd like to script some method to record the processor temp of my old
beige G3.
Well I had it working on a G3 and all my TAU documentation refers to
the G3 ( 750L I think ).
If you can avoid doing it I would, the words "DANGER DANGER POISON"
should be written all over it.
You would have to do it in kernel space as you would have to be in
supervisor mode.
It is not as simple as saying to the chip "How hot are you?" you set a
pair of interrupts
( if I remember correctly, which I probably don't ) and pick a low
value, hoping to be interrupted
straight away, you increase the value until it no longer interrupts,
and then you should have your value.
There is a kext in Jaguar called "AppleCPUThermo.kext", however I
don't know what it does.
I write all this so that someone might put me straight or fill in the
gaps.
There are also a couple of apps that might help
<
http://homepage.mac.com/takashi_hamada/Acti/MacOSX/ThermoInDock/
index.html>
<
http://www.kezer.net/thermographx.html>
though I do not know if they support G3, or log to a file.
S a m
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.