File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Using Profiling in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Using Profiling in Java" Watch "Using Profiling in Java" New topic
Author

Using Profiling in Java

Varun Kum
Greenhorn

Joined: Jan 21, 2012
Posts: 1
Folks,

I am trying to run HPROF Command in IBM AIX running Java 5 version.

I am using the following command:

>
java -Xrunhprof:cpu=times ContextLoaderListener.java

I receive the following output:
HPROF ERROR: can't write profile file: java.hprof.txt


Has anyone been able to get HPROF working on a AIX machine running Java5 (or any version)?

Am I executing a wrong command, if so what is the correct way to get this working ?

Any insights would help !

Thanks much mates!!



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Profiling in Java