Pathway/XM System Management Manual
Managing Servers
Compaq NonStop™ Pathway/XM System Management Manual—426761-001
9-8
Displaying Statistics for Servers
The SET TCP STATS Statement
The SET TCP STATS ON statement, a PXMCFG statement used when you configure a
TCP template, tells all TCPs associated with the specified TCP template to gather
statistics until you specify a CONTROL TCP STATS OFF command.
The CONTROL TCP STATS Command
The CONTROL TCP STATS command enables you to gather statistics only when you
need them. You specify this command after your Pathway/XM environment is running.
For example, the following sequence of commands starts statistics collection for all
TCPs associated with terminals in group ABC, displays statistics for the terminals and
TCPs, and then stops collection of statistics:
>> CONTROL TCP GROUP ABC STATS ON
>> .
. (5 minutes go by)
.
>> STATS TERM ...
.
>> STATS TCP ...
.
>> CONTROL TCP GROUP ABC STATS OFF
When you enter the CONTROL TCP STATS OFF parameter, all statistical counters are
reset to 0.
The STATS SERVER Command
The STATS SERVER command displays statistics, including response-time
information, about server-class operations for a single server class, multiple server
classes, or all server classes defined for a Pathway/XM environment. These statistics
are gathered by the TCPs and LINKMON processes that have links to the server class.
For direct and replicated server classes, this command provides statistics for the server
processes within the server class. For distributed server classes, it provides statistics for
the link control service (LCS) processes.
The following example displays statistics collected by TCPs and LINKMON processes
for the server class PROCESS-SERVE:
>> STATS SERVER PROCESS-SERVE
For distributed server classes, you can specify the DETAIL option to obtain information
about the request queue for the LCS process (queue length, average arrival time, and
average response time):
>> STATS SERVER PROCESS-SERVE, DETAIL
If you include the FREQTABLE option, the STATS SERVER command generates a
frequency distribution table containing statistics collected by TCPs for the specified
server class:
>> STATS SERVER PROCESS-SERVER, FREQTABLE