Show CPU MHZ in Dashboard

Started by Mars79, January 13, 2018, 01:16:07 PM

Previous topic - Next topic
I just installed a fresh instance of OPNsense, already added some system monitoring tools like CPU temp, SMART status etc. How can I add the status of the current CPU speed in the dashboard?

Lobby, Dashboard shows the CPU speed but I suspect that is taken from the CPU identification. It may be a bit harder to determine the current speed for processors that adapt their speed according to load.

It is likely to be at least roughly correlated with the overall CPU load under Reporting, Health, System, Processor.

Bart...

So what you're actually are saying is that it should show the frequencies by default?
Attached is a screenshot of my dashboard, any idea why it doesn't show the frequency?

Might be an AMD vs. Intel thing. Mine says Intel(R) Xeon(R) CPU X5550 @ 2.67GHz (2 cores)

Bart

It's what the CPU has as its description.

There seems to be these, but we don't read them at the moment.

# sysctl hw.clockrate
# sysctl dev.cpu.0.freq

etc.


Cheers,
Franco

Perhaps something to add in a new version?

Perhaps, feature requests are recorded on GitHub:

https://github.com/opnsense/core/issues


Cheers,
Franco