k8temp

k8temp is a userspace temperature monitor for AMD K8 and K10 processors, with support for all BSD OS's. It's available in the FreeBSD ports tree as sysutils/k8temp, and from the k8temp web page.

Example run

-% k8temp -h
usage: k8temp [-nd] [cpu[:core[:sensor]] ...] | [-v | -h]
  -d    Dump debugging info
  -h    Display this help text
  -n    Only display values
  -v    Display version information

-% sudo k8temp
CPU 0 Core 0 Sensor 0: 40c
CPU 0 Core 1 Sensor 0: 39c
CPU 1 Core 0 Sensor 0: 39c
CPU 1 Core 1 Sensor 0: 37c

# Numbers only
-% sudo k8temp -n
39
40
38
37

# CPU 1, Core 1 only
-% sudo k8temp -n 1:1
37

# Debug output
-% sudo k8temp -d
CPUID: Vendor: AuthenticAMD, 0x20f12: Model=21 Family=f+0 Stepping=2
Advanced Power Management=0xf
   Temperature sensor: Yes
 Frequency ID control: Yes
   Voltage ID control: Yes
    THERMTRIP support: Yes
   HW Thermal control: No
   SW Thermal control: No
   100MHz multipliers: No
   HW P-State control: No
        TSC Invariant: No
Thermtrip=0x0d590524 (CurTmp=0x59 (40c) TjOffset=0x0d DiodeOffset=0x05 (6c))
CPU 0 Core 0 Sensor 0: 40c
Thermtrip=0x0d5a0520 (CurTmp=0x5a (41c) TjOffset=0x0d DiodeOffset=0x05 (6c))
CPU 0 Core 1 Sensor 0: 41c
Thermtrip=0x0f550224 (CurTmp=0x55 (36c) TjOffset=0x0f DiodeOffset=0x02 (9c))
CPU 1 Core 0 Sensor 0: 36c
Thermtrip=0x0f560220 (CurTmp=0x56 (37c) TjOffset=0x0f DiodeOffset=0x02 (9c))
CPU 1 Core 1 Sensor 0: 37c