Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Instrukcja Użytkownika Strona 115

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 124
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 114
The HPROF Profiler
Appendix D Remote Servlet Profiling 115
The syntax of HPROF is as follows:
-Xrunhprof[:help]|[:option=value,option2=value2, ...]
Using help lists options that can be passed to HPROF. The output is as follows:
Hprof usage: -Xrunhprof[:help]|[:<option>=<value>, ...]
Option Name and Value Description Default
--------------------- ----------- -------
heap=dump|sites|all heap profiling all
cpu=samples|old CPU usage off
format=a|b ascii or binary output a
file=<file> write data to file java.hprof
(.txt for ascii)
net=<host>:<port> send data over a socket write to file
depth=<size> stack trace depth 4
cutoff=<value> output cutoff point 0.0001
lineno=y|n line number in traces? y
thread=y|n thread in traces? n
doe=y|n dump on exit? y
2.
You must also change a line in the iPlanet Web Server start script. The start
script file is server_root
/https-server_id/start. Change the following line:
PRODUCT_BIN=uxwdog
to this:
PRODUCT_BIN=ns-httpd
3.
Start the server by running the start script. Since the server runs in the
foreground (the change in step 2), the command prompt returns only after the
server has been stopped.
4. In another window or terminal, find the process ID of the server process.
% ps -ef | grep ns-httpd
This command lists two ns-httpd processes. Look at the PPID (parent process
ID) column and identify which of the two processes is the parent process and
which is the child process. Note the PID (process ID) of the child process ID.
5. Send a SIGQUIT signal (signal 3) to the child process:
% kill -QUIT child_PID
Przeglądanie stron 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 123 124

Komentarze do niniejszej Instrukcji

Brak uwag