private static void usage ( ) { String className = MStress_Client . class . getName ( ) ; System . out . printf ( "Usage: java %s -s dfs-server -p dfs-port" + "[-t [create|stat|read|readdir|delete|rename] -a planfile-path -c host -n process-name" + " -P prefix]\n" , className ) ; System . out . printf ( " -t: this option requires -a, -c, and -n options.\n" ) ; System . out . printf ( " -P: default prefix is PATH_.\n" ) ; System . out . printf ( "eg:\n" ) ; System . out . printf ( " java %s -s <metaserver-host> -p <metaserver-port> -t create" + " -a <planfile> -c localhost -n Proc_00\n" , className ) ; System . exit ( 1 ) ; }
Prints usage information to standard out .