This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Performance and the fly likes Performance Monitor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Performance Monitor" Watch "Performance Monitor" New topic
Author

Performance Monitor

pamir sonmez
Ranch Hand

Joined: May 31, 2010
Posts: 46
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

Joined: Jun 26, 2002
Posts: 860
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


http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 860
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

Joined: May 31, 2010
Posts: 46
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

Joined: Dec 28, 2006
Posts: 893
You're using eclipse so did you try

Java Application Profiling using TPTP

It works for me alright.


Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Performance Monitor
 
Similar Threads
Question regarding JAmon
Testing Performance of J2EE project
Instumentation
how JaMon is helpful for web application?
tech journalist seeking comments of post-deployment performance tuning