> 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