• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Performance Monitor

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 893
Tomcat Server Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're using eclipse so did you try

Java Application Profiling using TPTP

It works for me alright.
 
reply
    Bookmark Topic Watch Topic
  • New Topic