xref: /dragonfly/share/man/man4/memtemp.4 (revision 4d962a29)
1.\"
2.\" Copyright (c) 2015 The DragonFly Project.  All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\"
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in
12.\"    the documentation and/or other materials provided with the
13.\"    distribution.
14.\" 3. Neither the name of The DragonFly Project nor the names of its
15.\"    contributors may be used to endorse or promote products derived
16.\"    from this software without specific, prior written permission.
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
22.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
24.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
26.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
28.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.Dd February 8, 2015
32.Dt MEMTEMP 4
33.Os
34.Sh NAME
35.Nm memtemp
36.Nd device driver for memory thermal sensor
37.Sh SYNOPSIS
38To compile this driver into the kernel,
39place the following line in your
40kernel configuration file:
41.Bd -ragged -offset indent
42.Cd "device memtemp"
43.Ed
44.Pp
45Alternatively, to load the driver as a
46module at boot time, place the following line in
47.Xr loader.conf 5 :
48.Bd -literal -offset indent
49memtemp_load="YES"
50.Ed
51.Sh DESCRIPTION
52The
53.Nm
54driver provides support for the memory thermal sensor.
55The values are exposed through the
56.Dv HW_SENSORS
57.Xr sysctl 3
58tree.
59For example:
60.Bd -literal -offset indent
61%sysctl hw.sensors
62hw.sensors.dimm0.temp0: 39.00 degC
63hw.sensors.dimm3.temp0: 40.00 degC
64hw.sensors.dimm6.temp0: 35.00 degC
65hw.sensors.dimm9.temp0: 33.00 degC
66hw.sensors.dimm12.temp0: 29.00 degC
67hw.sensors.dimm15.temp0: 35.00 degC
68hw.sensors.dimm18.temp0: 33.00 degC
69hw.sensors.dimm21.temp0: 31.00 degC
70.Ed
71.Sh HARDWARE
72The
73.Nm
74driver supports the following memory thermal sensors:
75.Pp
76.Bl -bullet -compact
77.It
78Intel E5 v2 memory thermal sensors
79.El
80.Sh SEE ALSO
81.Xr systat 1 ,
82.Xr sysctl 3 ,
83.Xr sensorsd 8 ,
84.Xr sysctl 8
85.Sh HISTORY
86The
87.Nm
88driver first appeared in
89.Dx 4.1 .
90.Sh AUTHORS
91.An -nosplit
92The
93.Nm
94driver was written by
95.An Sepherosa Ziehau Aq Mt sepherosa@gmail.com .
96