yjp-9.5.6使用

1,从http://www.yourkit.com/java/profiler/index.jsp下载安装文件,windwos和linux

2,在linux上解压yjp-9.5.6-linux.tar.bz2

3,$YJP_HOME/bin/yjp.sh -attach pid
Picked up JAVA_TOOL_OPTIONS:
Attaching to process 10138 using default options
The profiler agent has attached. Waiting while it initializes...
[YourKit Java Profiler 9.5.6] Loaded. Log file: /home/XXXX/.yjp/log/10214.log
The agent is loaded and is listening on port 10001.
You can connect to it from the profiler UI.

4,$YJP_HOME/bin/yjp.sh   就可以监视了,如果想从windows监视,则在windows打开yjp,输入linux的ip和上面给出的100001端口

你可能感兴趣的:(使用)