From f372c9fc9b4256b53b40d0c220aa194b415ef499 Mon Sep 17 00:00:00 2001 From: netchild Date: Sun, 14 Oct 2007 10:59:44 +0000 Subject: Convert coretemp(4) to the hardware sensors framework and make sure to never call sched_bind() for uninitialised CPUs. Submitted by: Constantine A. Murenin Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith --- share/man/man4/coretemp.4 | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'share') 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 -- cgit v1.1