欧美三区_成人在线免费观看视频_欧美极品少妇xxxxⅹ免费视频_a级毛片免费播放_鲁一鲁中文字幕久久_亚洲一级特黄

YourKit Java Profiler 剖析遠程服務(wù)器

系統(tǒng) 3060 0

先到 YourKit.Java.Profiler.v9.0.3.For.Windows.Linux 下載 windows 和 linux 版。

把都解壓到不同的目錄如 D:\profile\YourKit.Java.Profiler.v9.0.3.Incl.Keygen.and 和
D:\profile\YourKit.Java.Profiler.v9.0.3.Linux.Incl.Keygen.and。

1、解壓出 yjp-9.0.3.exe 安裝。完了后,雙擊 D:\profile\YourKit.Java.Profiler.v9.0.3.Incl.Keygen.and\iNViSiBLE\keygen.bat 然后點“patch”,然后選擇 D:\Program Files\YourKit Java Profiler 9.0.3\lib\yjp.jar

2、輸入用戶名,點“Gengerate”,復制出 key。

3、運行 yourkit profiler,輸入剛才復制出的 key 就好了。

然后就可正常運行了。

剖析遠程服務(wù)器還需要在 linux 的安裝 yourkit profiler(以控制臺行動不需要 License),把解壓出來的 yjp-9.0.3-linux.tar.bz2 上傳到服務(wù)器,如:/home/admin/yjp-9.0.3-linux.tar.bz2

1、在 linux 解壓 yjp-9.0.3-linux.tar.bz2,并運行。

  1. cd ?/home/admin/??
  2. tar ?xfj?yjp-9.0.3-linux. tar .bz2??
  3. cd ?yjp-9.0.3??
  4. #生成啟動腳本 ??
  5. java?-jar?lib/yjp.jar?-integrate??
    cd /home/admin/
tar xfj yjp-9.0.3-linux.tar.bz2
cd yjp-9.0.3
#生成啟動腳本
java -jar lib/yjp.jar -integrate

  

在生成啟動腳本期間,要選擇。如下:

  1. [admin@v022185?~/yjp-9.0.3]$?java?-jar?lib/yjp.jar?-integrate??
  2. Choose?server?to?integrate?with:??
  3. 1)?Geronimo??
  4. 2)?JBoss?2.x/3.x/4.x??
  5. 3)?Jetty?HTTP?Server?5.x??
  6. 4)?JRun?4??
  7. 5)?Orion?Application?Server?1.5.x/2.x??
  8. 6)?Resin?2.x/3.x??
  9. 7)?Sun?Application?Server?/?GlassFish??
  10. ?<img?src="http://blog.chenlb.com/wp-includes/images/smilies/icon_cool.gif"?alt="8)"?class="wp-smiley">?Tomcat?3/4/5/6??
  11. 9)?WebLogic?9/10??
  12. 10)?WebSphere?Application?Server?7??
  13. 11)?Generic?server?(use?if?your?server?is?not?on?the?list)??
  14. Enter?number?which?corresponds?to?your?server?(0?to?exit)?and?press?Enter:??
  15. >2??
  16. Please?specify?whether?the?server?runs?on?a?32-bit?JVM?or?a?64-bit?JVM.??
  17. Hint:?If?you?are?not?sure?what?to?choose,?choose?"32-bit?JVM".?If?with?this?choice?the?server?does?not?start?with?profiling,?re-run?the?integration?and?choose?"64-bit?Java"?option.??
  18. 1)?32-bit?JVM??
  19. 2)?64-bit?JVM??
  20. >2??
  21. Location?of?JBoss?startup?script?(<JBOSS_HOME>/bin/run.sh):??
  22. >/home/admin/yjp-9.0.3/jboss_run.sh??
  23. ??
  24. Startup?options?configuration:?step?1?of?5??
  25. Should?option?'disablestacktelemetry'?be?specified???
  26. 1)?Yes?(recommended?to?minimize?profiling?overhead?in?production)??
  27. 2)?No??
  28. >1??
  29. Startup?options?configuration:?step?2?of?5??
  30. Should?option?'disableexceptiontelemetry'?be?specified???
  31. 1)?Yes?(recommended?to?minimize?profiling?overhead?in?production)??
  32. 2)?No??
  33. >1??
  34. Startup?options?configuration:?step?3?of?5??
  35. Should?option?'builtinprobes=none'?be?specified???
  36. 1)?Yes?(recommended?to?minimize?profiling?overhead?in?production)??
  37. 2)?No??
  38. >1??
  39. Startup?options?configuration:?step?4?of?5??
  40. Should?option?'delay=10000'?be?specified???
  41. 1)?Yes?(recommended)??
  42. 2)?No??
  43. >1??
  44. Startup?options?configuration:?step?5?of?5??
  45. Please?specify?comma-separated?list?of?additional?startup?options,?or?press?Enter?for?no?additional?options:??
  46. >??
  47. Startup?script?to?be?used?for?profiling?has?been?successfully?created:??
  48. ??
  49. /home/admin/yjp-9.0.3/jboss_run_with_yjp.sh??
    [admin@v022185 ~/yjp-9.0.3]$ java -jar lib/yjp.jar -integrate
Choose server to integrate with:
1) Geronimo
2) JBoss 2.x/3.x/4.x
3) Jetty HTTP Server 5.x
4) JRun 4
5) Orion Application Server 1.5.x/2.x
6) Resin 2.x/3.x
7) Sun Application Server / GlassFish
 
    8)
    
 Tomcat 3/4/5/6
9) WebLogic 9/10
10) WebSphere Application Server 7
11) Generic server (use if your server is not on the list)
Enter number which corresponds to your server (0 to exit) and press Enter:
>2
Please specify whether the server runs on a 32-bit JVM or a 64-bit JVM.
Hint: If you are not sure what to choose, choose "32-bit JVM". If with this choice the server does not start with profiling, re-run the integration and choose "64-bit Java" option.
1) 32-bit JVM
2) 64-bit JVM
>2
Location of JBoss startup script (<JBOSS_HOME>/bin/run.sh):
>/home/admin/yjp-9.0.3/jboss_run.sh

Startup options configuration: step 1 of 5
Should option 'disablestacktelemetry' be specified?
1) Yes (recommended to minimize profiling overhead in production)
2) No
>1
Startup options configuration: step 2 of 5
Should option 'disableexceptiontelemetry' be specified?
1) Yes (recommended to minimize profiling overhead in production)
2) No
>1
Startup options configuration: step 3 of 5
Should option 'builtinprobes=none' be specified?
1) Yes (recommended to minimize profiling overhead in production)
2) No
>1
Startup options configuration: step 4 of 5
Should option 'delay=10000' be specified?
1) Yes (recommended)
2) No
>1
Startup options configuration: step 5 of 5
Please specify comma-separated list of additional startup options, or press Enter for no additional options:
>
Startup script to be used for profiling has been successfully created:

/home/admin/yjp-9.0.3/jboss_run_with_yjp.sh

  

其實就在 jboss_run_with_yjp.sh 加個 jvm 啟動參數(shù):

  1. -agentpath:/home/admin/yjp-9.0.3/bin/linux-x86-64/libyjpagent.so=disablestacktelemetry,disableexceptiontelemetry,builtinprobes=none,delay=10000,sessionname=JBoss??
    -agentpath:/home/admin/yjp-9.0.3/bin/linux-x86-64/libyjpagent.so=disablestacktelemetry,disableexceptiontelemetry,builtinprobes=none,delay=10000,sessionname=JBoss

  

可以參數(shù)自己的環(huán)境手動寫,sessionname 是隨便寫吧(沒驗證過)。

用帶 yjp 參數(shù)啟動 jboss。就可以剖析遠程服務(wù)器。

在本地機 windows 用界面觀察。在歡迎界面中有個 “Connect to remote application ...” 鏈接。可以輸入 host:post。

注意 yourkit 的是在 10001 - 10010 中按順序來決定哪個端口使用(有點不理解為什么不在啟動 jvm 參數(shù)中指定)。

比如:192.168.1.100:10001。然后就可以看到界面了:

yourkit-profiler

yourkit profiler 界面

YourKit Java Profiler 剖析遠程服務(wù)器


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 亚欧乱色一区二区三区 | 国产在线观看一区二区三区 | 免费看一级视频 | 成人免费视频网站 | www.欧美com| 嘿咻嘿咻免费区在线观看吃奶 | 国产片在线观看 | a久久| 日本三级全黄 | 在线精品亚洲欧美日韩国产 | 黄视频免费在线观看 | 国产精品成人观看视频国产 | 久久免费福利 | 日本三级带日本三级带黄国产 | 亚洲成人av在线 | 国产传媒网址 | 国产亚洲综合一区二区 | 一级做a爰片性色毛片视频图片 | 久久99国产综合精品 | 国产精品免费av | 亚洲国产精品综合久久 | 亚洲xx站| 排球少年第四季樱花动漫 | 欧美一级www片免费观看 | 亚洲小视频在线播放 | 黄网站在线播放 | 浮力影院网站午夜 | 爱草在线| 欧美黑人性受xxxx喷水 | 日本一区视频在线播放 | 久久在线免费视频 | 狠狠色老熟妇老熟女 | 欧美1级 | 精品国偷自产在线 | 机器人男友 | 国产精品色 | 国产精品久久久免费视频 | 久久视频在线免费观看 | 国产高清卡一卡新区 | 嫩草影院在线观看网站成人 | 亚洲欧美色国产综合 |