Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[9fans] /dev/cputemp

2 views
Skip to first unread message

erik quanstrom

unread,
Nov 4, 2008, 7:52:21 PM11/4/08
to
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


0 new messages