Dave Marples was using Orbuculum with some success in the past:

https://groups.google.com/g/nuttx/c/XwzRjsgq1rA/m/Kcpe4vydAgAJ
https://nuttx.events/wp-content/uploads/2019/11/DMarples_nx2019.pdf

On 5/12/2021 12:43 AM, David S. Alessio wrote:
On May 11, 2021, at 11:22 PM, James Dougherty <jafr...@gmail.com> wrote:

Hi Folks,

What is an easy way to compute the system load on Nutt-X?
I don't need the  procinfo (Unix LA) just current CPU load and
optimally, I would like a measure 0-1000 where I can get  4 digits of
precision ...
The simpler the better, doesn't need to be a lot of code, only used
for a "busy-ness" factor.

Thank you very much!

-James

I added this feature a few years ago, but it seems it has since succumb to bit 
rot and perhaps a few too many fat fingers…
Take a look at the earliest to procfs.c and look for “/proc/load” or 
“/proc/cpuload”, I don’t recall…

Cheers,
-david


Reply via email to