public static void mainUsage ( PrintStream ps ) { StringBuilder b = new StringBuilder ( "\nUsage: java -jar [opentsdb.jar] [command] [args]\nValid commands:" ) . append ( "\n\ttsd: Starts a new TSDB instance" ) . append ( "\n\tfsck: Searches for and optionally fixes corrupted data in a TSDB" ) . append ( "\n\timport: Imports data from a file into HBase through a TSDB" ) . append ( "\n\tmkmetric: Creates a new metric" ) . append ( "\n\tquery: Queries time series data from a TSDB " ) . append ( "\n\tscan: Dumps data straight from HBase" ) . append ( "\n\tuid: Provides various functions to search or modify information in the tsdb-uid table. " ) . append ( "\n\texportui: Exports the OpenTSDB UI static content" ) . append ( "\n\n\tUse help <command> for details on a command\n" ) ; ps . println ( b ) ; }
Prints the main usage banner