[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
stack_checker_report_usage and cpu_usage_report to array
- Date: Thu, 26 Jan 2012 12:49:11 -0600
- From: alan.p.cudmore at nasa.gov (Cudmore, Alan P. (GSFC-5820))
- Subject: stack_checker_report_usage and cpu_usage_report to array
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
> 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 mssl.ucl.ac.uk _'\<; Mullard Space Science Laboratory,
> ((( (*)/(*) University College London.
> rtems-users mailing list
> rtems-users at rtems.org