if (commandLine.hasOption("start")) {
jmxClient.invoke(ttInstance.getObjectName(), "startSub", new Object[0], new String[0]);
this.println("invoke " + ttInstance.getClassName() + "#startSub success");
}
else if (commandLine.hasOption("stop")) {
jmxClient.invoke(ttInstance.getObjectName(), "stopSub", new Object[0], new String[0]);
this.println("invoke " + ttInstance.getClassName() + "#stopSub success");
}
else if (commandLine.hasOption("look")) {
String ret = (String) jmxClient.getAttribute(ttInstance.getObjectName(), "SubStatus");
this.println(ret);