Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Performance Monitor

 
pamir sonmez
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking for an open-source performance programme for monitoring my application
Can you recommend any?

I am developing an java based web application using struts and hibernate with eclipse

I do not have nay information how can I monitor, so if there is any information about my project please ask.

I wonder which function uses how much time?
database use time of function etc.

thanks
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use and created JAMon for such things. It allows you to track JDBC (execution time, hits, exceptions and more), page stats (execution time, hits, exceptions, http status codes, bytes sent, and more). You should be able to set it up in a few minutes and it requires no code changes. You can also track stats associated with any of your Java code. You view the stats with the JAMon web application. Go to the JAMon website in my link below. In particular look at sections on HTTP monitoring and JDBC monitoring in the documentation.

There are also other open source java monitors. You should be able to find them by using Google or going to www.javaperformancetuning.com
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have never tried it, but Struts comes with the ability to track performance using JAMon. The class is called JamonStrutsInterceptor
 
pamir sonmez
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure what jamon capable of but it seems like I should plcae monitor object for each function I call.

Is it possible something like,

I call A function and A function calls A1 and A2 function
and in the report recursively I can see all function calls and its time and memory usage
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're using eclipse so did you try

Java Application Profiling using TPTP

It works for me alright.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic