cpu temperature monitoring 

Newsgroups: uk.comp.os.linux
Date: 2002-03-31 12:24:34 PST
> > I've looked on freshmeat and there seems to be two ways to monitor the
> > cpu temp.  Either gkrellm, or putting a patch into the kernel to add
> > cputemp to /proc.
> >
> > I have the debian testing version of gkrellm but there seems to be no
> > way to show cpu temperature...  Do I have to patch the kernel in any
> > case?  What's the best way to monitor the cpu temperature?
>
> I think you'd need ACPI support in the kernel (General Setup), enable ACPI
> support, ACPI Bus manager and Processor. Though whether this gives you the
> temperature or not would depend on what the ACPI in your BIOS supports.
>
> BTW, I've never used ACPI for monitoring, just to turn the box off when I
> shut down.

I don't think the processor module is responsible for temperature monitoring, it seems to be for idel states. There's a "Thermal" module, which I've tried compiling, but it just says "No such device" when I try to modprobe it.

The only monitor front-end I've found which mentions a kernel patch (apart from some PPC stuff which I don't think uses ACPI) is heatload, but I can't find the patch itself anywhere.

Generally lm_sensors is what you need, but that doesn't seem to be compatible with my motherboard, which is a VIA 82wotsit86B, while lm_sensors seems only to support the A, and misdetetcs it or something.

TH

cpu temperature monitoring 

> > Ok, I just compiled i2c support into the kernel and rebooted, yes,
> > *rebooted*.  I also did an apt-get install lm-sensors.
> > Now I get
> > paul@debian:~$ sensors
> > No sensors found!
>
> Have you run sensors-detect once?
>
> Have you put the appropriate lines into modules.conf and a startup script?
>
> Have you set it up to do a a "sensors -s" on every reboot?

Thanks for that. I feel somewhat frustrated though - why didn't debconf tell me all that when I installed lm-sensors? I feel like what should be a simple task is neccesitating an awful lot of hassle.

What's more, the installation files for the source of lm-sensors, as far as I can see, mention none of those things. I now see that I was supposed to read, several times, the thousand line FAQ. I think that critical installation instructions should be in the installation instructions, but that could just be me having a grumpy day…

Paul