OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: Mars79 on January 13, 2018, 01:16:07 pm

Title: Show CPU MHZ in Dashboard
Post by: Mars79 on January 13, 2018, 01:16:07 pm
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?
Title: Re: Show CPU MHZ in Dashboard
Post by: bartjsmit on January 13, 2018, 02:10:27 pm
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...
Title: Re: Show CPU MHZ in Dashboard
Post by: Mars79 on January 13, 2018, 02:27:11 pm
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?
Title: Re: Show CPU MHZ in Dashboard
Post by: bartjsmit on January 13, 2018, 02:48:24 pm
Might be an AMD vs. Intel thing. Mine says Intel(R) Xeon(R) CPU X5550 @ 2.67GHz (2 cores)

Bart
Title: Re: Show CPU MHZ in Dashboard
Post by: franco on January 13, 2018, 03:02:47 pm
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
Title: Re: Show CPU MHZ in Dashboard
Post by: Mars79 on January 13, 2018, 03:57:30 pm
Perhaps something to add in a new version?
Title: Re: Show CPU MHZ in Dashboard
Post by: franco on January 14, 2018, 10:03:38 am
Perhaps, feature requests are recorded on GitHub:

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


Cheers,
Franco