TERM Commands
NonStop Pathway/iTS Management Programming Manual—426749-002
8-25
STATS TCPTERM
STATS TCPTERM
Use the STATS TCPTERM command to obtain resource-usage and performance
statistics, including response time information, collected by a TCP for a TERM object
under its control. The search is restricted to one TCP. The TERM object must be
running or suspended for this command to complete successfully.
This command can be issued for configured and temporary TERM objects.
The ZSTATS fields in ZPWY-MAP-DEF-TCP and ZPWY-DDL-PAR-CONTROL-TCP
controls the gathering of statistics by the TCP.
This command does not return information collected by an external TCP (a TCP
controlled by another PATHMON process and therefore outside this PATHMON
environment).
Continuation
To obtain statistics for all TERM objects under the control of a single TCP, initialize the
ZTCP field in ZPWY-DDL-SEL-TCPTERM to the name of the TCP and initialize the
ZTERM field to ZPWY-VAL-ALLTERM. Reissue the command repeatedly, using the
context token returned by the PATHMON process, until no data is returned in the
response buffer. For more information, see Specifying Continuation on page 3-21.
Command Syntax
For tokens that may be present in the command and response buffers but are not
listed, see Unlisted Tokens on page 3-36. For descriptions of tokens and fields, see
Section 4 through Section 6.
Command
ZPWY-CMD-STATS
Object Type
ZPWY-OBJ-TCPTERM
Tokens in Command Buffer
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING.
ZPWY-MAP-SEL-TCPTERM token-type ZPWY-DDL-SEL-TCPTERM !r
ZPWY-MAP-QUAL-TERM token-type ZPWY-DDL-QUAL-TERM.
ZPWY-MAP-PAR-STATS-TCPTERM token-type ZPWY-DDL-PAR-STATS-
TCPTERM.