diff --git a/docs/source/guides/admin-guides/references/man1/replaycons.1.rst b/docs/source/guides/admin-guides/references/man1/replaycons.1.rst index c4b1929b3..0cd788690 100644 --- a/docs/source/guides/admin-guides/references/man1/replaycons.1.rst +++ b/docs/source/guides/admin-guides/references/man1/replaycons.1.rst @@ -19,7 +19,7 @@ SYNOPSIS ******** -\ **replaycons**\ [\ *node*\ ] [\ *bps*\ ] [\ *tail_amount*\ ] +\ **replaycons**\ \ *node log file*\ [\ *bps*\ ] [\ *tail_amount*\ ] \ **replaycons**\ [\ **-h**\ | \ **-**\ **-help**\ | \ **-v**\ | \ **-**\ **-version**\ ] @@ -31,9 +31,9 @@ DESCRIPTION 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.) +the speed of the output play back. (The 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 +\ **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. @@ -51,7 +51,7 @@ OPTIONS \ *tail_amount*\ - The place in the console log file to start play back, specified as the # of lines from the end. + The place in the console log file to start play back, specified as the number of lines from the end. @@ -96,7 +96,7 @@ EXAMPLES .. code-block:: perl - replaycons 19200 2000 + replaycons node1.log 19200 2000 diff --git a/xCAT-client/pods/man1/replaycons.1.pod b/xCAT-client/pods/man1/replaycons.1.pod index 97a7e81cf..e41a5c07d 100644 --- a/xCAT-client/pods/man1/replaycons.1.pod +++ b/xCAT-client/pods/man1/replaycons.1.pod @@ -5,7 +5,7 @@ B - replay the console output for a node =head1 SYNOPSIS -B [I] [I] [I] +B I [I] [I] B [B<-h> | B<--help> | B<-v> | B<--version>] @@ -14,9 +14,9 @@ B [B<-h> | B<--help> | B<-v> | B<--version>] The B 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 I value, it will throttle -the speed of the output play back. (The conserver logs are stored in /var/log/consoles.) +the speed of the output play back. (The 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 +B 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. @@ -30,7 +30,7 @@ The display rate to use to play back the console output. Default is 19200. =item I -The place in the console log file to start play back, specified as the # of lines from the end. +The place in the console log file to start play back, specified as the number of lines from the end. =item B<-v|--version> @@ -64,7 +64,7 @@ An error has occurred. To replay the console for node1 at the default rate, starting 2000 lines from the end: - replaycons 19200 2000 + replaycons node1.log 19200 2000 =back diff --git a/xCAT-server/bin/replaycons b/xCAT-server/bin/replaycons index 5cc22aa84..dded022ec 100755 --- a/xCAT-server/bin/replaycons +++ b/xCAT-server/bin/replaycons @@ -17,7 +17,7 @@ use Getopt::Long; my $usage_string = "Usage: - replaycons node [bps] [tail] + replaycons node_log [bps] [tail] replaycons -h|--help replaycons -v|--version bps Specifies the display rate.