`
klcwt
  • 浏览: 190125 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

性能监控

阅读更多
2009 - 05 - 20

性能监控

关键字: jamon 监控

JAMon
http://jamonapi.sourceforge.net/

网上说的人很多,似乎用法找不到。只有几篇介绍的。系统开发经常遇到慢的问题,
打算用这个工具来查查问题到底出在哪,先仔细研究一把。

作用;
1.系统瓶颈。determine application performance bottlenecks, user/application interactions, track application scalability

2.性能统计。JAMon 1.0 gathers aggregate performance statistics such as hits, execution times (total, average, minimum, maximum, standard deviation), as well as concurrency information such as simultaneous application requests

未完待续。

Jwebap

http://jwebap.sourceforge.net/

不要看这个页面的配置文件。过期了很久。难怪我看这个配置是错误的。

报错。

引用
java.lang.ClassNotFoundException: org.jwebap.core.JwebapListener



还是看下载过来的压缩包里面的web-example.xml

引用


<listener>

<listener-class>org.jwebap.startup.JwebapListener</listener-class>

</listener>



这个不错。
今天用了一下还是相当方便的。在下载的文件中有pdf,按照步骤配置web.xml 放入xml配置文件,加入相应的jar包.启动web服务器,访问 http://localhost/detect/ 就可以访问了。由于使用了静态写代码的介入方式实现。所以添加要监视的类以后,需要重新启动服务器。然后就可以在界面上看到执行时间等信息,在此基础上发 现耗时的位置可以适当的加入cache,可以有效的提升响应速度。调优的关键还是要找到那个位置。




性能调优 http://www.javaperformancetuning.com/

JConsole的使用手册
很好的一篇介绍,图文并茂
顺带还有JProfiler的介绍
http://muyoufang001.blog.163.com/blog/static/37500671200911115449449/

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics