Introduction

Here’s how to monitor the temperature of all your CPU cores on FreeBSD.

Configuration

Fortunately, there’s nothing to install. We’ll simply load the temperature module:

  kldload coretemp
  

If you want to enable it each time your machine boots:

  # /boot/loader.conf
coretemp_load="YES"
  

PS: For AMD users, there are also the k8temp and amdtemp modules available.

Usage

Now, you can easily check your temperatures:

  > sysctl dev.cpu | grep temperature
dev.cpu.0.temperature: 48.0C
dev.cpu.1.temperature: 50.0C
dev.cpu.2.temperature: 47.0C
dev.cpu.3.temperature: 46.0C
  

References

http://blog.freelooser.fr/2009/05/temperature-du-cpu-sous-freebsd.html

Last updated 12 Sep 2010, 06:29 CEST. history