
The gateway monitor (gwmon, gwmon.exe) is used to analyze and administer the SAP Gateway. You can start the monitor as required. When you start it, you initially get a list of active CPI-C connections. You can call up all the other monitor functions via a menu.
• UNIX: gwmon
• Windows: gwmon.exe
1. Call gwmon in <SID>adm mode.
gwmon call gwmon with following parameters: pf=<profile> : Specify Name of parameter file or nr=<nr> : System number [-V] : Print release [-refresh n] : Refresh after n seconds [-gwhost host] : Hostname of remote gateway [-gwserv service] : Service of remote gateway [-expert] : enable expert functions [-sna] : enable sna functions [-noheader] : Suppress headers [-cmdfile file] : Execute commands from cmdfile if filename '-' read from stdin
To start the gateway monitor, call the corresponding executable file, specifying a profile file:
• Under UNIX: gwmon pf=<profile>
• Under Windows: gwmon.exe pf=<profile>
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).
2. Launch gwmon, gateway monitor using selected profile.
->usr\sap\<SID>\SYS\profile>gwmon pf=<PROFILE-NAME> Gateway monitor, connected to <server-host> / sapgw00 Connection table (Used: 0, Connected: 0) -------------------------------------------------------------------------------- NO CLIENT(LU/TP) USER STATE SDEST CONVID PROT WP REQTIME -------------------------------------------------------------------------------- q - quit m - menue
3. Choose ‘m‘, menu for full menu list.
-->m Gateway monitor, connected to <server-host> / sapgw00 Main menue -------------------------------------------------------------------------------- 1 : display connection table 2 : display work process table 3 : display client table 4 : display remote gw table 5 : connection attributes 6 : statistics 7 : gateway parameters and attributes 8 : gateway release info 9 : security information 10 : expert functions + : increase gateway trace - : decrease gateway trace q - quit -->



