mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
update doc
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.taobao.arthas.core.command.basic1000;
|
||||
|
||||
import com.taobao.arthas.core.command.Constants;
|
||||
import com.taobao.arthas.core.shell.command.AnnotatedCommand;
|
||||
import com.taobao.arthas.core.shell.command.CommandProcess;
|
||||
import com.taobao.middleware.cli.annotations.Argument;
|
||||
@@ -14,6 +15,9 @@ import com.taobao.middleware.cli.annotations.Summary;
|
||||
*/
|
||||
@Name("echo")
|
||||
@Summary("write arguments to the standard output")
|
||||
@Description("\nExamples:\n" +
|
||||
" echo 'abc'\n" +
|
||||
Constants.WIKI + Constants.WIKI_HOME + "echo")
|
||||
public class EchoCommand extends AnnotatedCommand {
|
||||
private String message;
|
||||
|
||||
|
||||
+4
-1
@@ -32,7 +32,10 @@ import sun.management.counter.perf.PerfInstrumentation;
|
||||
*/
|
||||
@Name("perfcounter")
|
||||
@Summary("Display the perf counter infornation.")
|
||||
@Description(Constants.WIKI + Constants.WIKI_HOME + "perf")
|
||||
@Description("\nExamples:\n" +
|
||||
" perfcounter\n" +
|
||||
" perfcounter -d\n" +
|
||||
Constants.WIKI + Constants.WIKI_HOME + "perfcounter")
|
||||
public class PerfCounterCommand extends AnnotatedCommand {
|
||||
private static final Logger logger = LoggerFactory.getLogger(PerfCounterCommand.class);
|
||||
private static Object perfObject;
|
||||
|
||||
Reference in New Issue
Block a user