i dug out the code i wrote some time ago to read cpu
temperature (or the closest stand in for it i could find)
on most modern amd and intel processors.  it's wrapped
up with a change to extend the model macro so that
conroe l processors don't appear to be xeons.

/n/sources/contrib/quanstro/src/9/pc/^(cpuid0.s dat.h devarch.c io.h)

you'll need to add cpuid0.s to l.s.

here's how it works.  minooka obviously has two processors:

        minooka; cat /dev/cputemp
        32±1
        31±1

- erik


Reply via email to