JAVA_OPTS=-Dcom.sun.management.jmxremote
and start your Application Server or Servlet Container. Launch JConsole tool, and when asked for attaching, pick the appropriate process to attach.
Here is a link from Sun's Java website.
Blog on things around me - Applications, Java Platform, Free & Open Source Software, Gadgets, Utilities...
Talking to #AI may be the most important job skill of this century ( JohnGoodPasture ) Role of account management over the years. It’s a ro...
3 comments:
This is interesting but not really much more than what existing OS tools can do. What I'm still waiting for is an easy way to check per object memory usage without latching JProfiler into the mix. That would be a dream.
@Rockstar.
Try the netbeans profiler or if you have resources to buy, yourkit profiler is a very good java profiler. you can try the software for 15 days.
Netbeans profiler is pretty good and should do most of your tasks
Rockstar: That not really true. OS tools cannot show the Java program, only the virtual machine as a whole, so they are of very limited use.
Post a Comment