Displays QoS Policy statistics. By default, all of the QoS policy statistics are displayed. The SUMMARY parameter can be specified to limit the display to summary statistics. Or you can use the POLICYN/-Y filter to display only statistics for a specific policy.
Provide the report for a specific TCP/IP address space by using TCp tcpname. See The Netstat command target for more information about the TCp parameter.
The default output option displays the output on the user's terminal. For other options, see The TSO NETSTAT command syntax or Netstat command output.
Provide the report for a specific TCP/IP address space by using -p tcpname. See The Netstat command target for more information about the TCp parameter.
The default output option displays the output to z/OS UNIX shell stdout. For other options, see The z/OS UNIX netstat command syntax or Netstat command output.
The POLicyn/-Y filter value can be a complete string or a partial string using wildcard characters. A wildcard character can be an asterisk (*), which matches a null string or any character or character string, at the same position. A wildcard character can be a question mark (?), which matches any single character at the same position. For example, a string "searchee" matches with "*ar?he*", but the string "searhee" does not match with "*ar?he*".
When you use z/OS UNIX netstat/onetstat command in a z/OS UNIX shell environment, take care if you use a z/OS UNIX MVS™ special character in a character string. It might cause an unpredictable result. To be safe, if you want to use a z/OS UNIX MVS special character in a character string, surround the character string with single quotation marks. For example, to use an asterisk (*) in the policy name, pgnt*rl for the -Y filter, issue the command as: netstat -j -Y 'pgnt*rl'.
NETSTAT SLAP
NETSTAT SLAP SUMMARY
netstat -j
netstat -j SUMMARY
The following examples are generated by using TSO NETSTAT command. Using the z/OS UNIX netstat command displays the data in the same format as the TSO NETSTAT command.
Tip: The Netstat SLAP/-j reports are not affected by the IPv6 enablement and format request.
NETSTAT SLAP
MVS TCP/IP NETSTAT CS V2R1 TCPIP Name: TCPCS 20:30:49
PolicyRuleName: ftpd
FirstActTime: 10/30/2002 20:05:48
LastMapTime: 10/30/2002 20:06:09
TotalBytesIn: 34816
TotalBytesOut: 86016
TotalInPackets: 17
TotalOutPackets: 42
OutBytesInProf: 28672
OutPacksInProf: 14
TotalBytesReTrn: 0
TotalPacksReTrn: 0
ReTrnTimeouts: 0
AcceptConn: 5
DeniedConn: 1
ActConnMap: 2 Status: Active
SmoothRTTAvg: 12 SmoothRTTMdev: 7
SmoothConnDlyAvg: 5 SmoothConnDlyMdev: 3
AcceptQDelayAvg: 2 AcceptQDelayMdev: 2
PolicyRuleName: telnetd
FirstActTime: 10/30/2002 20:29:53
LastMapTime: 10/30/2002 20:30:40
TotalBytesIn: 68
TotalBytesOut: 108
TotalInPackets: 2
TotalOutPackets: 3
OutBytesInProf: 0
OutPacksInProf: 0
TotalBytesReTrn: 0
TotalPacksReTrn: 0
ReTrnTimeouts: 0
AcceptConn: 2
DeniedConn: 0
ActConnMap: 2 Status: Active
SmoothRTTAvg: 0 SmoothRTTMdev: 0
SmoothConnDlyAvg: 0 SmoothConnDlyMdev: 0
AcceptQDelayAvg: 1 AcceptQDelayMdev: 0
NETSTAT SLAP SUMMARY
MVS TCP/IP NETSTAT CS V2R1 TCPIP Name: TCPCS 20:30:49
PolicyRuleName: ftpd
FirstActTime: 10/30/2002 20:05:48
LastMapTime: 10/30/2002 20:06:09
Status: Active
PolicyRuleName: telnetd
FirstActTime: 10/30/2002 20:29:53
LastMapTime: 10/30/2002 20:30:40
Status: Active
Tip: The time displayed in the header of the report is local time. The FirstActTime and LastmapTime fields displayed in the report are Coordinated Universal Time (UTC).