OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.7 Production Series »
  • Temperature: Dashboard Temps differ massively from CLI
« previous next »
  • Print
Pages: [1]

Author Topic: Temperature: Dashboard Temps differ massively from CLI  (Read 210 times)

fastboot

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 5
    • View Profile
Temperature: Dashboard Temps differ massively from CLI
« on: December 01, 2024, 02:15:53 pm »
Hi folks,


I am running a Protectli 6630 with a "12th Gen Intel(R) Core(TM) i3-1215U (6 cores, 8 threads)".

When I reload the dashboard I get the following:
Code: [Select]
CPU 0 = 81°C
CPU 1 = 81°C
CPU 2 = 58°C
CPU 3 = 58°C
CPU 4 = 79°C
CPU 5 = 79°C
CPU 6 = 79°C
CPU 7 = 79°C
CPU 8 = 79°C

When just ideling on the Dashboard its:
Code: [Select]
CPU 0 = 58°C
CPU 1 = 58°C
CPU 2 = 54°C
CPU 3 = 54°C
CPU 4 = 58°C
CPU 5 = 58°C
CPU 6 = 58°C
CPU 7 = 58°C
CPU 8 = 58°C

In the CLI I issued two commands, which also differ.

sysctl dev.cpu | grep temperature | sort
Code: [Select]
dev.cpu.0.temperature: 40.0C
dev.cpu.1.temperature: 40.0C
dev.cpu.2.temperature: 35.0C
dev.cpu.3.temperature: 35.0C
dev.cpu.4.temperature: 40.0C
dev.cpu.5.temperature: 40.0C
dev.cpu.6.temperature: 40.0C
dev.cpu.7.temperature: 40.0C

sysctl -a | grep temperature | sort
Code: [Select]
dev.cpu.0.temperature: 49.0C
dev.cpu.1.temperature: 49.0C
dev.cpu.2.temperature: 41.0C
dev.cpu.3.temperature: 42.0C
dev.cpu.4.temperature: 50.0C
dev.cpu.5.temperature: 52.0C
dev.cpu.6.temperature: 52.0C
dev.cpu.7.temperature: 52.0C


1. Could you tell me please why the temperatures Dashboard and CLI differ that much?
2. I do not understand the difference between the CLI commands.
3. On which values can I rely?


Thanks a lot in advance.

Cheers,

fb
Logged

meyergru

  • Hero Member
  • *****
  • Posts: 1757
  • Karma: 171
  • IT Aficionado
    • View Profile
    • congenio
Re: Temperature: Dashboard Temps differ massively from CLI
« Reply #1 on: December 01, 2024, 04:31:29 pm »
Use your google-fu and you will find a ton of threads about it.
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 440 up, Bufferbloat A+

AhnHEL

  • Jr. Member
  • **
  • Posts: 67
  • Karma: 7
    • View Profile
Re: Temperature: Dashboard Temps differ massively from CLI
« Reply #2 on: December 01, 2024, 06:57:35 pm »
I think meyergru is tired of repeating his answers and he's not wrong.

You are using cpu cycles to run that command and one is a lot more intensive than the other which is why there is a difference in the temps.  That answers questions 1 and 2.

To answer your third, I would rely on the "sysctl dev.cpu | grep temperature | sort" more since its showing the temperature with the command skewing the results the least.
« Last Edit: December 01, 2024, 09:20:05 pm by AhnHEL »
Logged
AhnHEL (Angel)

meyergru

  • Hero Member
  • *****
  • Posts: 1757
  • Karma: 171
  • IT Aficionado
    • View Profile
    • congenio
Re: Temperature: Dashboard Temps differ massively from CLI
« Reply #3 on: December 01, 2024, 07:42:42 pm »
I did not want to sound rude, but sometimes I wished people would actually use the forum search or the tutorial section before asking questions. For obvious reasons, this particular topic has just made it into here, as point 17.
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 440 up, Bufferbloat A+

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.7 Production Series »
  • Temperature: Dashboard Temps differ massively from CLI
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2