2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-07-31 18:19:40 +00:00

Merge pull request #7642 from VersatusHPC/harvest/replaycons-usage-and-docs

fix(replaycons): print full usage on missing argument, document confluent log rotation
This commit is contained in:
Daniel Hilst
2026-07-27 07:59:22 -03:00
committed by GitHub
3 changed files with 9 additions and 1 deletions
@@ -36,6 +36,10 @@ the speed of the output play back. (The logs are stored in /var/log/consoles.)
\ **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.
*******
OPTIONS
+4
View File
@@ -19,6 +19,10 @@ the speed of the output play back. (The logs are stored in /var/log/consoles.)
B<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.
=head1 OPTIONS
+1 -1
View File
@@ -45,7 +45,7 @@ if ($::VERSION) {
}
if (@ARGV < 1) {
print "Please specify a node name.\n";
print "$usage_string\n";
exit(1);
}