Entering content frameFunction documentation Using the SAP Gateway Monitor from Outside the SAP System Locate the document in its SAP Library structure

Use

The gateway monitor is used to analyze and administer the SAP Gateway from outside the SAP System.

The profile you assign to it must be the same as for the Gateway.

This process has different names:

UNIX: gwmon

WindowsNT: gwmon.exe

BS2000: P.GWMON

Integration

The trace file of the gateway monitor is called: dev_gwmon

The functionality is the same as that of the SAP Gateway Monitor in RSAP, the only difference being the menu and submenus.

The detailed information displayed by double-clicking a connection in SAP is available here under the expert functions.

Features

When you launch the Gateway Monitor without arguments, all of the permitted arguments and options are displayed:

Output

Meaning

pf=<profile>:

Specify Name of parameter file or

Specify the profile file or

nr=<nr>:

System number

Specify the number of the system

[-e all]:

Reset error counts of all connections

Reset error counts for all connections

[-e <conn no>:

Reset error count of specified connection

Reset error count for the connection with the number <conn no>

[-V]:

Print release

Output release

[-refresh n]:

Refresh after n seconds

Refresh after n seconds

[-gwhost host]:

Hostname of remote gateway

Host name of the remote gateway

[-gwserv service]:

Service of remote gateway

Service name of the remote gateway

The individual functions are grouped into separate submenus.

Main Menu

When you enter gwmon -gwhost <host> -gwserv <service>, the list of activate connections on the gateway is first displayed. This is followed by

q - quit

m - menu

You generally quite the Gateway Monitor with q and use m to go to the (next higher) menu.

By choosing m and Return, you go to the main menu:

Screen output

Meaning

1 : display connection table

Display Active CPI-C Connections

2 : display work process table

Display Gateway Work Processes

3 : display system information

Display the Logged On Systems

4 : connection attributes

Connection Attributes

5 : statistics

Gateway Statistics

6 : gateway parameters and attributes

Display Gateway Parameters and Attributes

7 : security information

Display Security Information

8 : expert functions

Expert Functions

+ : increase gateway trace

Increase gateway trace level

- : decrease gateway trace

Decrease gateway trace level

q - quit

Exit Gateway Monitor

Inputs 4,5,7 and 8 lead to submenus that provide functions for the relevant areas.

Activities

First find out on which host your SAP Gateway Monitor is installed:

msclients name=<SAP-System>

Tools ® Administration ® Monitoring ® System monitoring ® Servers

To start the gateway monitor, call the corresponding executable file, specifying a profile file:

Under UNIX: gwmon pf=<profile>
Under WindowsNT: gwmon.exe pf=<profile>
In BS2000: /CALL SAPGW.LIB(P.GWMON)

All of the lists are updated after 5 seconds. You can refresh them sooner by pressing Enter.

It is standard to use 50 lines per screen. The number of lines can be changed (for example, under UNIX you can set the shell variable LINES).

 

 

 

Leaving content frame