profiling java applications with jvisualvm

阅读更多
1) Open jvisualvm, which is bundled with the standard javase 6 release. It is placed under $JAVA_HOME/bin, implemented with the Netbeans framework.
2) Click on the samples tag. Here we have 2 factors for profiling, CPU and Memory.
3) Click Settings, choose "include only packages" and setup the app packages you want to monitor, then click CPU.
4) Make operations on the GUI or client interface, you will the sample CPU time from the jvisualvm window.
profiling java applications with jvisualvm_第1张图片
  • profiling java applications with jvisualvm_第2张图片
  • 大小: 36.1 KB
  • 查看图片附件

你可能感兴趣的:(profiling java applications with jvisualvm)