pmreplay is used to access the event (audit) and keystroke (I/O) logs on any server in the policy group. If you use both the -i and -o options with the command, it would display both what is displayed on the terminal and what is typed in on the keyboard. We recommend you only use either -I by itself (to see what's typed), or -o without -I or -i (but possibly with -k to remove control characters).
You can also run pmreplay without any options which puts it in interactive mode. It will then attempt to replay the keystrokes as if on the same terminal type as the original session. If the terminal types are not set up identically, it could be the terminal on which the pmreplay command is run is not interpreting the output correctly.
|-E||Include vi editing sessions when used with -K|
|-h||When used with -o or -I, prints an optional header line. The header is always printed in interactive mode|
|-i||Replays the recorded standard input|
|-I||Dumps the recorded standard input, but converts carriage returns to new lines in order to improve readability.|
|-K||When used with -e, -I, and -o, removes all control characters and excludes vi editing sessions. Use with -E to include vi editing sessions|
|-o||Dumps the recorded standard output|