mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
update docs about stop/shutdown. #838
This commit is contained in:
@@ -10,6 +10,8 @@ import com.taobao.middleware.cli.annotations.Name;
|
||||
import com.taobao.middleware.cli.annotations.Option;
|
||||
import com.taobao.middleware.cli.annotations.Summary;
|
||||
|
||||
import one.profiler.AsyncProfiler;
|
||||
|
||||
/**
|
||||
* @see com.taobao.arthas.core.shell.command.internal.GrepHandler
|
||||
*/
|
||||
@@ -169,6 +171,10 @@ public class GrepCommand extends AnnotatedCommand {
|
||||
@Override
|
||||
public void process(CommandProcess process) {
|
||||
process.write("The grep command only for pipes. See 'grep --help'").write("\n");
|
||||
|
||||
String libPath = "/private/tmp/async-profiler-1.6-macos-x64/build/libasyncProfiler.so";
|
||||
AsyncProfiler instance = AsyncProfiler.getInstance(libPath);
|
||||
process.write(instance.toString());
|
||||
process.end();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user