Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
Lustre 2.12.0, Lustre 2.13.0
-
9223372036854775807
Description
Running iokit-gather-stats with no flags results in
# /usr/bin/iokit-gather-stats Usage: iokit-gather-stats [-help] config_file [start|stop|cleanup] <log_name>
So, to get help on the command, we should use the ‘-help’ flag
# /usr/bin/iokit-gather-stats -help getopt: invalid option -- 'e' getopt: invalid option -- 'l' getopt: invalid option -- 'p' Usage: iokit-gather-stats [-help] config_file [start|stop|cleanup] <log_name>
Well, that didn’t help.
Looking at the code, we should really use ‘h’ or ‘-help’. Thus, we should modify the Usage statement above.