do you have a certain reason for doing profiling from the command line? Unfortunately I can't help you with what you are trying to do but I think it would be a lot easier to use an IDE with integrated profiler. That way with only a few mouse clicks your application gets profiled and all data are beautiful visualized and you can additionally filter or sort them in various ways. I only know the profiler integrated in Netbeans IDE but I'm sure every good modern IDE supports profiling like this.
This is only my opinion and of course it won't help if you have good reasons to do this from the command line...
Joined: Jan 06, 2006
Well i wanted to try it via the cmd as it's an eg from my lecture and my lecturer told us to try it at home.