Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know how to get the temperature of an Intel Core i5 processor in FreeBSD?

Relevant info:

  • Motherboard: Asus P8P67 Deluxe
  • CPU: Intel(R) Core(TM) i5-2500
  • OS: FreeBSD 8.2-RELEASE (64bit)

I've tried:

  • sysctl -a ⇒ nothing about CPU-temp there
  • mbmon ⇒ outputs: No Hardware Monitor found!! InitMBInfo: Unknown error: 0

I've successfully used mbmon on previous rigs with older hardware, but I can't get it to work with this setup. I've tried all "access methods" (options -V, -S, -I, -A).

share|improve this question
You may need to load smbus (kldload smbus) and/or other modules to get mbmon to work. It depends on the chipset. – Chris S Oct 9 '11 at 1:44
up vote 7 down vote accepted

Try this:

% kldload coretemp
% sysctl -a |grep temper
dev.cpu.0.temperature: 60
dev.cpu.1.temperature: 60
dev.cpu.2.temperature: 64
dev.cpu.3.temperature: 64

Also check if FreeBSD has modules for your ACPI-chip:

ls /boot/kernel |grep ^acpi
share|improve this answer
please mark it as accepted so it appears answered :) thanks – Franz Bettag Oct 9 '11 at 1:44
Perfect, kldload coretempdid it. Thank you very much! (And yes, I try to always accept when I've received the best answer :-) – poplitea Oct 9 '11 at 2:02

On an ASUSTeK motherboard, apart from the already referenced coretemp(4), you could also try aibs(4), too.

# kldload coretemp ; kldload acpi ; kldload aibs
%sysctl dev.{cpu,aibs} | fgrep temp
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .