Hello
I want to run a java program on a linux server in profiling mode.
Is there any profiling tool that can profile a java program on a linux server in command prompt?
Thanks in advance.
Hello
I want to run a java program on a linux server in profiling mode.
Is there any profiling tool that can profile a java program on a linux server in command prompt?
Thanks in advance.
JVisualVM is a very basic profiling tool that comes with the official JDK from Sun.
http://java.sun.com/javase/6/docs/technotes/tools/share/jvisualvm.html
EDIT: Also see .....
http://stackoverflow.com/questions/2422289/any-recommended-java-profiling-tutorial http://stackoverflow.com/questions/14762/please-recommend-a-java-profiler
Profiler
NetBeans profiler is a module to provide a full-featured profiling functionality for the NetBeans IDE. The profiling functions include CPU, memory and threads profiling as well as basic JVM monitoring, allowing developers to be more productive in solving memory or performance-related issues.
InMemProfiler can be used at the command line to profile memory allocations. Live vs collected allocations can be tracked and collected objects can be split into buckets based on their lifetimes.
In trace mode this tool can be used to identify the source of memory allocations.