Entering content frame

Process documentation Monitoring the SAP Web Dispatcher Using the Console Locate the document in its SAP Library structure

Purpose

You can monitor the SAP Web dispatcher using program icmon (icmon.exe under Windows).

Any problems with the SAP Web Dispatcher are saved in the trace file.

Prerequisites

The SAP Web dispatcher is running (see Operating the SAP Web Dispatcher). In the following <profile> refers to the name of the profile file that the SAP Web dispatcher was started with.

Process Flow

If you started the program icmon with icmon pf=<profile>, you will see configuration and statistical data of the SAP Web dispatcher, and a snapshot of the thread activity.

The available functions are briefly described below.

Tracing

The trace file of the SAP Web dispatcher is called dev_webdisp and is located in the directory of the SAP Web Dispatcher. You can change the trace level using signals or the icmon parameter.

Changing the Trace Level Using Signals

First find out the process ID (PID) of the SAP Web dispatcher. You can then use command kill ‑USR2 <WebDisp PID> to increase the trace level by one, or kill  ‑USR1  <pid> to reduce it. The default trace level is 1. In Windows you use sapntkill –USR2 <pid> or sapntkill -USR1 <pid>.

Changing the Trace Level Using icmon

Start icmon with icmon pf=<profile>

To increase the trace level, select +.

To lower the trace level, select -.

Resetting the Trace File

·        You can reset the trace file while the system is operating:

...

       1.      Start icmon with icmon pf=<profile>

       2.      Choose m. The main menu appears.

       3.      Choose m again an answer the question Do you really want to attach to SAP Web Disp? with y.

       4.      Choose r (reset trace file).

Caution

The content of the trace file is then lost and you will see the entry:

[Thr 1860] TRACE FILE TRUNCATED

       5.       

       6.       

 

Leaving content frame