ControlCenter is an application interfacing android with the underlying kernel/shell. it allows you to define commands (e.g.
echo sumthin > somewhere and execute those from within Android. If there is a file to display a status the command can be added a status information that will be read from that file.
Commands can be used to run commands to collect logs or any other task based on shell commands.
A full description of the syntax as well as the source code can be found here: http://www.cri.ch/sven/doku.php/computing/android/commandcenter