display
command before disabling Netstats.Netstats refers to a diagnostic feature for the collection and display of read and write I/O times and message fragment counts of normal traffic between the publisher and one or more engines. "Read
" refers to input messages from the engine to the publisher. "Write
" refers to output messages from the publisher to the engine. When enabled, network statistics are collected on all publisher to engine connections, with separate collections maintained for each. When netstats are displayed, up to four separate histograms are shown for each connection with recorded activity since enablement. The histograms show read times in microseconds, read message fragments, write times in microseconds, and write message fragments.
There is no persistent cab
option to enable Netstats, as its purpose is diagnostic. There is some CPU overhead to collecting the read and write statistics for each connection. The current value of CPU time consumed is shown after the final histogram for each connection.
Netstats is dynamically enabled or disabled by SQDCONF tune commands
. It is displayed by SQDCONF
display or MVS operator modify command
. Stopping the publisher also disables Netstats, requiring another tune command
to re-enable after a start command
.
SQDCONF tune command
://NETSTATS EXEC PGM=SQDCONF,REGION=32M
//STEPLIB DD DISP=SHR,DSN=<sqdata load library>
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SQDLOG DD SYSOUT=*
//SQDPARMS DD *
tune --enable-netstats <cab file>
/*
or
//SQDPARMS DD *
tune --disable-netstats <cab file>
/*
Displaying Netstats using SQDCONF display command
. The output is written to SYSOUT.
F <task_name>,DISPLAY NETSTATS
F <task_name>, D N
F <task_name>,DISPLAY WTO,NETSTATS
F <task_name>,D W,N