stack_checker_report_usage and cpu_usage_report to array

Cudmore, Alan P. (GSFC-5820) alan.p.cudmore at
Thu Jan 26 18:49:11 UTC 2012

We use the rtems_shell_script API to execute a single shell command and store the results in a file. We then downlink the file with the results. 
It should work with all of the commands. 


On Jan 26, 2012, at 1:17 PM, Phil Smith wrote:

> We're using RTEMS for ESA's Solar Orbiter and one change we need and would be
> useful in general for space missions is to send the output of 
>  rtems_stack_checker_report_usage
> and
>  rtems_cpu_usage_report
> to an array/structure instead of to printk so that the results can be part of
> regular telemetry.
> We could use rtems_stack_checker_report_usage_with_plugin and
> rtems_cpu_usage_report_with_plugin and have the plugin be a function to
> intercept the text and extract it ... however it would save precious (space
> qualified) memory to just edit the RTEMS code.
> Is anyone else interested in this or done it already?
> -- 
> Philip J. Smith            __o    Dept. of Space and Climate Physics, 
> pjs1 at       _'\<;    Mullard Space Science Laboratory,  
>                     ((( (*)/(*)      University College London.
> _______________________________________________
> rtems-users mailing list
> rtems-users at

More information about the users mailing list