summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2007-10-14 10:59:44 +0000
committernetchild <netchild@FreeBSD.org>2007-10-14 10:59:44 +0000
commitf372c9fc9b4256b53b40d0c220aa194b415ef499 (patch)
tree5d33cf636bb125bf5a72f9c9da969da3daa5d34e /share
parent8423df3d9411c6e4e79b3a3b06ea1c3c6aaaa81f (diff)
downloadFreeBSD-src-f372c9fc9b4256b53b40d0c220aa194b415ef499.zip
FreeBSD-src-f372c9fc9b4256b53b40d0c220aa194b415ef499.tar.gz
Convert coretemp(4) to the hardware sensors framework and
make sure to never call sched_bind() for uninitialised CPUs. Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/coretemp.420
1 files changed, 14 insertions, 6 deletions
diff --git a/share/man/man4/coretemp.4 b/share/man/man4/coretemp.4
index ce4eb36..a9ac4b8 100644
--- a/share/man/man4/coretemp.4
+++ b/share/man/man4/coretemp.4
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 23, 2007
+.Dd September 13, 2007
.Dt CORETEMP 4
.Os
.Sh NAME
@@ -51,12 +51,20 @@ The
driver provides support for the on-die digital thermal sensor present
in Intel Core and newer CPUs.
.Pp
-The
-.Nm
-driver reports each core's temperature through a sysctl node in the
-corresponding CPU device's sysctl tree, named
-.Va dev.cpu.%d.temperature .
+The values are exposed through the
+.Va HW_SENSORS
+.Xr sysctl 3
+tree.
+For example:
+.Bd -literal -offset indent
+%sysctl hw.sensors
+hw.sensors.cpu0.temp0: 28.00 degC
+hw.sensors.cpu1.temp0: 29.00 degC
+.Ed
.Sh SEE ALSO
+.Xr systat 1 ,
+.Xr sysctl 3 ,
+.Xr sensorsd 8 ,
.Xr sysctl 8
.Sh HISTORY
The
OpenPOWER on IntegriCloud