I/O in concurrent program

Some alternatives

  1. have your command dump all the messages that have occurred since the last invocation of the command. That way the output is finite.

  2. have your cli command monitor all traffic continuously until ctrl-c (or some other key combination) is pressed then it reverts back to your application’s cli prompt.

  3. have your cli command send data to a file and monitor that with a tail type tool

Leave a Comment