[Klug-general] System temperature monitoring
Karl Lattimer
karl at qdh.org.uk
Mon Dec 14 12:31:31 UTC 2009
On Mon, 2009-12-14 at 12:13 +0000, Mike Evans wrote:
>
> J D Freeman wrote:
> >
> > This is actually one area I don't have a command line answer, as I use
> > gklremm for machine monitoring, this gives me useful temperature numbers.
> >
> > hddtemp has proven reasonably accurate for me on western digital hard
> > disks.
> >
>
> I think the biggest issues comes from whether you have the right bits
> and bobs (technical term for drivers etc) installed to pick up the
> information. If you do then it is almost certainly brought through to
> the virtual filesystem in /proc and you can access that with cat, grep
> and sed if you need to as most things in there end up looking like text
> files.
>
> For example on my main machine:
> $ cat /proc/acpi/thermal_zone/THRM/temperature
> temperature: 40 C
Generally speaking it's better to use the SMC provided information in
sysfs these days. At least applesmc provides better data than proc. I
suppose this requires sysfs support for your hardware's sensors though.
Using sysfs on my macbook I can also level shelves :D
BR,
K
More information about the Kent
mailing list