NetGate 6100 (23.09.1) - can I access the system temperature sensor(s) values via the command line?
-
Is there a way to get the values of the system's temperature sensor(s) via a command line tool? I want to send myself an alert if the temperature exceeds a particular value.
Thanks.
-
You can see the coretemp values via their sysctl:
[24.03-BETA][root@6100-3.stevew.lan]/root: sysctl -a | grep temperature hw.acpi.thermal.tz0.temperature: 26.9C dev.cpu.3.temperature: 49.0C dev.cpu.2.temperature: 47.0C dev.cpu.1.temperature: 48.0C dev.cpu.0.temperature: 50.0CSteve
-
@stephenw10 Thanks. On my unit I only see the ACPI temperature but no CPU core temperatures, any idea why that is?
.../root: sysctl -a | grep temperature hw.acpi.thermal.tz0.temperature: 26.9CJust curious as the ACPI temp will likely do for my purposes.
-
If you don't see the CPU core temperatures it's because the coretemp driver isn't loaded. It's loaded by default so you probably imported a config? It's a setting in Sys > Adv > Misc.
-
@stephenw10 Thanks again. That was indeed it. All sorted.
-
@stephenw10 I did import a migrated Config (from an SG-3100). Is there anything else system or hardware wise that might not be set optimally for a 6100 as a result?
-
You can enable QAT and/or IIMB on that same page. If you're not running a VPN that won't make any significant difference though.
-
@stephenw10 Thanks. I use WireGuard extensively so I will turn those on.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better š
Register LoginPrivacy Policy · Cookie Policy