Hi all!
I'm looking for tutorials on java profiling

I've tried to profile a simple java prog (with only a system.out.println in it )but couldn't make it work.

The java program compiles fine but it's the profiling part that i'm having some probs (i tried to do the profiling on windows)

NOTE: my java version is 1.6
i tried these:
java -prof hello
but got "dumping cpu usage in old prof format ... done"

java -Xrunhprof:cpu samples,thread=y hello
but got "dumping cpu usage by sampling running threads ... done"

I never got the java.hprof.txt file

Why am i getting the dumping msg thing? What do they mean?
What am i doing wrong?? :S