The following measurement tools exist for LAN connections:
BCMON commands
Using the BCMON command, you start cyclic BCAM monitoring and output the desired values at regular intervals. The values are displayed on the console and also written to the log file ($SYSAUDIT.SYS.CONSLOG.<date>.<counter>), so that the values can be evaluated later. See also the “BCAM” manual [2 (Related publications)].
Simple example for BCMON
This example shows how the throughput of a specific connection is measured. The total throughput can be measured by not specifying LINE=.
/BCMON MODE=ON,RECORD=L2,LINE=LINEFCGB,SEC=30 (command on the console)
Every 30 seconds the measured values accrued in this time are output, e.g.:
<C %BCAM-000... % BCA0B15 Line LINEFCGB: BYTES=(I=929.088.154/O=930.140.116); I/O'S=(I=50.259/O=33.216); PACKETING=(I=4,60/O=6,98) 1. <C %BCAM-000... % BCA0B16 Line LINEFCGB: UNICASTs=(I=231.372/O=231.981); MULTICASTs=(I=0/O=0) 2. <C %BCAM-000... % BCA0B17 Line LINEFCGB: I/O ERRORs=(I=0/O=0); WAIT+RETRIES=0; DISCARDS=(I=0/O=0); PROTOCOL ERRORs=(I=0/O=0); L2 PROTOCOLs=(I=0/O=0) 3.
Line LINEFCGB : Name of the line
BYTES=(I= ): Number of bytes received
BYTES=(O= ): Number of bytes sent
I/O'S=(I= ): Number of inputs
I/O'S=(O= ): Number of outputs
PACKETING=(I= ): Number of messages per input
PACKETING=(O= ): Number of messages per outputLine LINEFCGB : Name of the line
UNICASTs=(I= ): Number of UNICASTs received
UNICASTs=(O= ): Number of UNICASTs sent
MULTICASTs=(I= ): Number of MULTICASTs received
MULTICASTs=(O= ): Number of MULTICASTs sentMessage BCA0B17 is merely an error counter
NETSTAT command
The NETSTAT program can be used to request information about applications, connections, routing data and network interfaces. The functionality of the NETSTAT program is also available via BCAM command SHOW-NET-STATISTICS/NETSTAT. The NETSTAT program can be used under any user ID without any privileges with the SHOW-NET-STATISTICS/NETSTAT command. See also the “BCAM” manual [2 (Related publications)].
Simple example for NETSTAT
This example shows how the total throughput is measured using NETSTAT.
/NETSTAT INTERFACE-SUM-RATE=*YES,WAITTIME=30 (user command)
After the load messages and a display of all the values accrued to date, the standardized values for the inputs and outputs are output every 30 seconds (in each case in packets and bytes):
INTERFACE sum rate Date: Fri Nov 23 10:20:35 2012 PacketsIn BytesIn ErrorsIn PacketsOut BytesOut ErrorsOut 58255627 1979306135058 0 70849955 516799149494 0 INTERFACE sum rate Date: Fri Nov 23 10:21:05 2012 dt(s) PktsIn/s KByteIn/s ErrIn PktsOut/s KByteOut/s ErrOut 30.007 363.35 24.35 0 265.17 552.28 0 30.005 345.44 22.70 0 229.20 476.90 0 30.005 319.58 20.66 0 194.33 404.37 0
openSM2 reports
The following SM2 monitoring programs supply important information on networking (see the “openSM2” manual [18 (Related publications)]):
BCAM-CONNECTION
Monitored data on connection setsCHANNEL-IO
Monitored data on the channel load and channel transfer rates.PERIODIC TASK
Monitored data on tasks: utilization of the BCAM tasks (e.g. BCAM and BCA0)RESPONSETIME
Monitored data on response times, think times, transactions times, and wait times in the BCAM poolSAMPLING-DEVICE
Monitored data on I/Os, data volume and utilization of devicesTCP-IP
Monitored data on TCP/IP connections