`
Mojarra
  • 浏览: 128875 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

uProfiler Community 1.0发布

阅读更多

uProfiler Community 1.0是面向主题的JVM性能监控和分析工具,它利用字节码技术分析class,收集函数的执行耗时,并以图形化的界面实事显示JVM性能。不同于 JVisual VM系统层面的监控和分析,uProfiler面向主题,监控当前JVM的运行情况,让系统管理人员及时发现APP运行期的状态,有助于开发人员快速的发现和定位代码中潜在的问题。

主要功能有:

  1. 轻量级的函数执行耗时收集框架,并以JMX接口提供对外访问,占用资源少
  2. 面向主题的类分析和归类,目前内置了Spring、Struts框架代码执行分析器。
  3. 支持自定义主题
  4. 跟踪当前JVM中所执行的SQL语句
  5. 图形化、表格化的监控客户端

使用方法:下载uProfiler Community 1.0发行版后,解压后,切换到example目录,执行下面的命令(假设您已经安装并配置好了Maven),

export MAVEN_OPTS="-javaagent:../lib/uAgent-1.0.0.jar -Dagent.config=src/main/resources/agent.properties -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.ssl=false"

##  对于windows系统
set MAVEN_OPTS="-javaagent:../lib/uAgent-1.0.0.jar -Dagent.config=src/main/resources/agent.properties -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.ssl=false"

 然后启动example工程

mvn jetty:run

 然后双击执行发行版中的uProfiler_Client.jar或者在终端执行,

java -jar uProfiler_Client.jar

 点击New按钮按照向导界面,连接到127.0.0.1:9999 JMX服务端口,在浏览器中输入http://localhost:8080/resources/file.html,上传文件,查看图形界面的变化.

 

函数监控图

下载地址:http://sourceforge.net/projects/uprofiler/files/uProfiler%20Community%201.0%20dist.zip/download

 

@仪山湖

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics