Terminal Control Process (TCP) Commands
NonStop Pathway/iTS Management Programming Manual—426749-002
7-21
STATS TCPSC
STATS TCPSC
Use the STATS TCPSC command to obtain resource usage and performance statistics
collected by a TCP for all server classes to which it is linked. The ZSTATS field in
ZPWY-DDL-DEF-TCP controls the gathering of these statistics for the TCP. The
ZSTATS field in ZPWY-DDL-PAR-CONTROL-TCP controls the gathering of statistics
on performance.
This command does not return statistics for any external TCPs (TCPs that are
controlled by another PATHMON process and are therefore outside this PATHMON
environment) that might be linked to local server processes.
Continuation
To collect statistics for all server classes linked to a single TCP, initialize the ZTCP
field in ZPWY-DDL-SEL-TCPSC to the TCP name and initialize the ZSERVERCLASS
field to ZPWY-VAL-ALLSC. Reissue the command repeatedly, using the context token
returned by the PATHMON process, until no data is returned in the reply 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-TCPSC
Tokens in Command Buffer
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING.
ZPWY-MAP-SEL-TCPSC token-type ZPWY-DDL-SEL-TCPSC. !r
ZPWY-MAP-PAR-STATS-TCPSC token-type ZPWY-DDL-PAR-STATS-TCPSC.