Java Profiler in JDK?

R

Robert Mark Bram

Howdy All!

Is there a profiler tool in JDK? I would like to take measurements of three
things in particular:
- cpu utilisation
- number of bytes in memory
- network traffic in and out.

Any advice would be appreciated!

Rob
:)
 
T

Thomas Weidenfeller

Robert Mark Bram said:
Is there a profiler tool in JDK?

Sun's VMs come with the non-standard options -Xprof and -Xrunhprof to
print out some profiling data. See the SDK documentation for details.

-Xrunhprof invokes the HPROF profiler, which is based on the the JVMPI
(Java Virtual machine Profile Interface). Again, see the SDK
documentation for details.

There are other, free, profilers out there. Google for them.

/Thomas
 
R

Robert Mark Bram

Is there a profiler tool in JDK?
Sun's VMs come with the non-standard options -Xprof and -Xrunhprof to
print out some profiling data. See the SDK documentation for details.

-Xrunhprof invokes the HPROF profiler, which is based on the the JVMPI
(Java Virtual machine Profile Interface). Again, see the SDK
documentation for details.

There are other, free, profilers out there. Google for them.

Thanks for the reply Thomas!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top