Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Question About Temperature Reading in System Information Widget

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 163 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      milindhvijay
      last edited by

      Hi,

      I have a quick question regarding the temperature reading displayed on the homepage in the System Information widget.

      238a40f4-8237-40dc-8484-03e836305008-Screenshot 2024-10-11 at 2.52.07 PM.png

      Does anyone know where this data is pulled from?, or is it the average temperature across all CPU cores?

      1 Reply Last reply Reply Quote 0
      • M
        mvikman
        last edited by

        Looks like the System Information widget uses temp from cpu0 or thermal zone 0

        function get_temp() {
        	$temp_out = get_single_sysctl("dev.cpu.0.temperature");
        	if ($temp_out == "") {
        		$temp_out = get_single_sysctl("hw.acpi.thermal.tz0.temperature");
        	}
        

        I hide the Temperature in System Information and use the Thermal Sensors widget instead

        pfSense Plus 24.11-RELEASE (amd64)
        Dell Optiplex 7040 SFF
        Core i5-6500, 8GB RAM, 2x 240GB SSD (ZFS Mirror)
        HPE 561T (X540-AT2), 2-port 10Gb RJ45
        HPE 562SFP+ (X710-DA2), 2-port 10Gb SFP+

        1 Reply Last reply Reply Quote 1
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by stephenw10

          It probably is a value from the CPU cores. But that depends on having the cpu temp available. Try adding the thermal sensors widget and it will show you.

          You can enable an appropriate CPU core sensor driver in Sys > Adv > MIsc.

          Steve

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.