From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: [9fans] /dev/cputemp
Date: Tue, 4 Nov 2008 19:36:41 -0500 [thread overview]
Message-ID: <a0289a5085729144aa4d398b3773fcf1@quanstro.net> (raw)
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
next reply other threads:[~2008-11-05 0:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-05 0:36 erik quanstrom [this message]
2014-05-27 21:57 Jessica Yu
2014-05-27 22:07 ` erik quanstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a0289a5085729144aa4d398b3773fcf1@quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).