The HPROF Profiler
116 iPlanet Web Server, Enterprise Edition Programmer’s Guide to Servlets • May 2001
This displays the following ASCII menu in the window from where the start
script was invoked:
% start
iPlanet-WebServer-Enterprise/6.0
[LS ls1] http://test, port 9000 ready to accept requests
Default selection: alloc and heap dump
startup: server started successfully
SIGQUIT
A SIGQUIT has been received. Do you want to:
[ 0 ] continue program
[ 1 ] check & print one deadlock
[ 2 ] check & print all deadlocks
[ 3 ] dump thread stacks
[ 4 ] dump lock registry
[ 5 ] heap inspection
[ 6 ] hprof dump
[ 7 ] terminate program
Type number corresponding to selected action:
6.
Select menu option 6 by typing the number 6 and then typing the Enter key.
This causes HPROF data to be saved in the file specified in the
jvm.option line
in
jvm12.conf, for example /tmp/hprof.txt.
7. Type 0 and press Enter to continue the program (the Web Server).
8. To capture more HPROF profiles, repeat steps 6 and 7.
9. To stop the Web Server, run the stop script from another window.
% ./stop
10.
Undo the changes in steps 1 and 2 to return your Web Server to its original
configuration.
Commenti su questo manuale