2.1.3 Monitoring the GWWS Server
The GWWS server can be monitored using the wsadmin
utility, which is a command-line tool. This tool displays GWWS
running status.
Following is an example of using wsadmin to monitor GWWS
Example 2-2 Use wsadmin to Monitor GWWS
$wsadmin.
All Rights Reserved.
Distributed under license by Oracle.
SALT is a registered trademark.
> gwstats -i abcd
GWWS Instance : abcd
Inbound Statistics :
---------------------------------
Request Response Succ : 74
Request Response Fail : 32
Oneway Succ : 0
Oneway Fail : 0
Total Succ : 74
Total Fail : 32
Avg. Processing Time : 210.726 (ms)
Outbound Statistics :
---------------------------------
Request Response Succ : 0
Request Response Fail : 0
Oneway Succ : 0
Oneway Fail : 0
Total Succ : 0
Total Fail : 0
Avg. Processing Time : 0.000 (ms)
---------------------------------
Total request Pending : 0
Outbound request Pending : 0
Active Thread Number : 2
> gws -i out -s getTemp
GWWS Instance : out
Service : getTemp
Outboud Statistics :
---------------------------------
Request Response Succ : 333
Request Response Fail : 139
Avg. Processing Time : 143.064 (ms)
>
The gwstats command (gws), displays the WWS server statistics data with a specific instance ID or of a certain GWWS server service of the. The data includes the amount of successful and failed request, etc.
Before wsadmin is executed, both the TUXCONFIG and SALTCONFIG
environment variables must be set. wsadmin
supports
both active mode and in-active mode, which means
wsadmin
is able to launch with/without booting the
Oracle Tuxedo domain.
Table 2-3 wsadmin sub-commands
Sub-Command | Description |
---|---|
gwstats(gws) | Displays statistics information of GWWS server. |
configstats(cstat) | Displays configuration information. |
default(d) | Specifies the default -i option.
|
reload -i | Used to reload SALTCONFIG file. -i specifies the gateway instance id of the GWWS to reload.
|
echo(e) | Switches echo input on/off. |
forgettrans | Forgets one or all heuristic log records for the named GWWS instance. |
printtrans | Prints transaction information for the named GWWS instance. |
paginate(page) | Switches paging output on/off. |
verbose(v) | Switches verbose output on/off. |
saml (s) {create|add|modify|delete} | SAML key metadata operations. |
quit(q) | Terminates the program. |
Parent topic: Administering Oracle Tuxedo Web Services