You could also try adding the -Xprof JVM option to the command line. The output takes a little bit of effort to get used to, but it can be handy in some cases.
Atlast i found out that only Jamon is the only solution for me now .
But i am thinking about its learning curve again i need t learn its API for profiling.
steve souza
Ranch Hand
Joined: Jun 26, 2002
Posts: 845
posted
0
There isn't much of an api. You can monitor jdbc, ejb's and servlets via configuration of standard files. Post any questions you have on the jamon forum and I will answer them.
Simply install the jamon jar at the server level of jboss. Install the jamon war (so you can view statistics).
Here are steps how you can get jamon working. I would pick one of them so you can get the hang of what the tool can do...
If you choose to monitor your code directly too you could use AOP so you don't have to change code, or you can use the following coding style. The downside of the following approach is that you would have to change your code.
The "yourLabel" monitor will now be viewable in the "jamon.war" file.
This message was edited 1 time. Last update was at by steve souza