• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Profiling in Java

 
Varun Kum
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic