Profiling (-agentlib:hprof) of "endless" applications?

When I start my server application with

-agentlib:hprof=cpu=times

it creates a file 'java.hprof.txt' and the execution is very slow. So, I guess profiling is working. But how do I get the results? I read somewhere that the results are written to the hprof file when the applicatione exits. But our server application runs "endlessly", meaning: it doesn't have an exit method because it runs as a (Windows) service. So is there a special option telling to write current state to the file, e.g. every minute?

[528 byte] By [MartinHilperta] at [2007-10-2 2:19:08]
# 1
On Solaris/Linux you can send a Control-\ to a process and cause Hprof to dump the heap to the file (java.hprof.txt, or whatever filename you gave to the hprof startup option).On windows you can use Control-Break.-kto
kellyohaira at 2007-7-15 20:11:36 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 2
You can't press CTRL-BREAK for a windows service - there is no dos-box where you can do that.
MartinHilperta at 2007-7-15 20:11:36 > top of Java-index,Archived Forums,Debugging Tools and Techniques...