Java Profiling Tool for Linux [closed]
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?
All these Java profiling tools can be used in Linux:
- Yourkit
- JProfiler
- HPROF (Java 5+)
- JRat
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 .....
Any recommended Java profiling tutorial? https://stackoverflow.com/questions/14762/please-recommend-a-java-profiler
http://profiler.netbeans.org/
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.
精彩评论