replaycons - replay the console output for a node
replaycons [node] [bps] [tail_amount]
replaycons [-h | --help | -v | --version]
The replaycons command reads the console log stored by conserver for this node, and displays it in a way that simulates the original output of the console. Using the bps value, it will throttle the speed of the output play back. (The conserver logs are stored in /var/log/consoles.)
For now, replaycons must be run locally on the system on which the console log is stored. This is normally that management node, but in a hierarchical cluster will usually be the service node.
Note that when used with confluent, log rotation will cause older logs to have a filename that replaycons does not understand. You can have replaycons process an older log by appending the suffix seen in /var/log/confluent/consoles/. For example, 'replaycons n1.2018-02-02' will show the log file indicated.
The display rate to use to play back the console output. Default is 19200.
The place in the console log file to start play back, specified as the # of lines from the end.
Command Version.
Display usage message.
To replay the console for node1 at the default rate, starting 2000 lines from the end:
replaycons 19200 2000
/opt/xcat/bin/replaycons