On Fri, Nov 28, 2014 at 06:00:27PM +0000, Terje Frøysa wrote:
> Dear Sirs,
> 
> I have now four real time processes running and a mix of rt-tasks and Linux 
> tasks.
> In a pure Linux environment, CPU idle time can be estimated by:
> 
> awk '{print ($2*100)/$1 " % idle over "$1/60 " min"}' /proc/uptime
> 
> Question:
> Will this method apply in an Xenomai environment too?
> If not, is there any method that will apply?

I am not sure Linux load average calculations stay valid with
Xenomai running. For Xenomai tasks, /proc/xenomai/stat will give you
the cpu consumption, but all linux activities will appear as the
root task, whether idle or not.

-- 
                                            Gilles.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to