Netstat HElp/-? report

Displays help information for Netstat parameters.

TSO syntax

Read syntax diagramSkip visual syntax diagram
>>-NETSTAT--+-HElp -+------------------------------------------><
            '-?-----'   

z/OS UNIX syntax

Read syntax diagramSkip visual syntax diagram
>>-netstat -?--------------------------------------------------><

Command syntax examples

From TSO environment

NETSTAT HELP or NETSTAT ?

From UNIX shell environment

   netstat -?

Report examples

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.

NETSTAT HELP or
NETSTAT ?
Usage: NETSTAT <Report option | Command> <Target> <Output> <(Filter>
Report option:                                                      
ALL       - Display detailed information about TCP connection       
            and UDP sockets                                      
ALLConn   - Display information for all TCP connections and      
            UDP sockets, including some recently closed ones     
ARp       - Query ARP table or entry information (IPv4 only)     
BYTEinfo  - Display the byte-count information for each          
            active TCP connection and UDP socket                 
CACHinfo  - Display information about TCP connections            
            utilizing the Cache Accelerator                      
CLients   - Display information about local users of TCP/IP      
            services (jobnames)                                  
CONFIG    - Display the TCP/IP configuration information         
COnn      - Display information about each active TCP            
            connection and UDP socket (Default option)           
DEFADDRT  - Display the policy table for IPv6 default address selection
DEvlinks  - Display information about devices and defined        
            interfaces or links                                  
Gate      - Display information about the stack routing table    
            for IPv4 destinations                                
HElp or ? - Display Netstat parameters list                      
HOme      - Display information about each home IP address       
            and its associated link or interface name            
IDS       - Display information about Intrusion Detection        
            Services                                             
ND        - Display the IPv6 Neighbor cache entries              
PORTList  - Display port reservation list                           
RESCache  - Display resolver cache information
ROUTe     - Display stack routing information
SLAP      - Display QoS policy statistics                           
SOCKets   - Display information about each client using a           
            socket application programming interface                
SRCIP     - Displays information for all job-specific source        
            VIPA IP address associations                            
STATS     - Display TCP/IP statistics                               
TTLS      - Display Application Transparent Transport Layer 
            Security (AT-TLS) information            
TELnet    - Display TN3270 Telnet server connections                
Up        - Date and time tcpip was last started                    
VCRT      - Display the dynamic VIPA Connection Routing Table       
VDPT      - Display the dynamic VIPA Destination Port Table         
VIPADCFG  - Display the dynamic VIPA configuration information      
VIPADyn   - Display the current dynamic VIPA and VIPAROUTE 
            information
Target:                                                             
TCP       - Display detailed information about the specified        
            TCPIP address space                                     
Output:                                                             
FORMat    - Display Netstat report in a given format                
REPort    - Netstat information written to dataset name             
            tsoprefix.NETSTAT.option or specified with DSN/HLQ     
STACk     - Netstat information written to a TSO data stack         
Filter:                                                             
APPLD     - Filter the output of ALL,ALLCONN,and CONN reports 
            using the specified application data  
APPLName  - Filter the output of the TELNET report using the          
            specified VTAM application name                           
CLIent    - Filter the output of ALL, ALLCONN, BYTEINFO, CLIENT,      
            CONN, SOCKETS, and TELNET reports using the specified     
            client name                                               
CONNType  - Filter the output of ALLCONN and CONN reports using      
            the specified connection type
DNSAddr   - Filter the output of RESCACHE using the specified
            DNS IP address.
HOSTNAME  - Filter the output of ALL, ALLCONN, BYTEINFO, CONN, RESCACHE,
            SOCKETS, TELNET and VCRT reports using the specified      
            host name                                                 
INTFNAME  - Filter the output of DEVLINKS and HOME reports using the    
            specified name                          
IPAddr    - Filter the output of ALL, ALLCONN, BYTEINFO, CONN, GATE,  
            ND, RESCACHE, ROUTE, SOCKETS, TELNET, VCRT, VDPT, and VIPADCFG
            reports using the specified IP address                    
IPPort    - Filter output of the ALL, ALLCONN, CONN, SOCKETS,       
            TELNET, VCRT, and VDPT reports using the specified IP   
            address and port number
LUName    - Filter the output of the TELNET report using the          
            specified LU name                                         
NOTN3270  - Filter the output of ALL, ALLCONN, BYTEINFO, CONN,        
            CLIENTS, and SOCKETS reports excluding TN3270 server      
            connections                                               
POLicyn   - Filter the output of the SLAP report using the specified  
            policy name                                               
POrt      - Filter the output of ALL, ALLCONN, CONN, PORTLIST, SOCKETS,
            TELNET, VCRT, and VDPT reports using the specified port   
SMCID   -   Filter the output of ALL, ALLConn, CONN, and DEVLINKS reports
            using the specified SMC-R link or link group identifier
Command:                                                              
DRop      - Terminates the socket end-point that is identified by   
            the specified connection number                         
netstat -?
Usage: netstat|onetstat <Report Option | Command> <Target> <Output> <Filter>
Report option:                                                              
-A  - Display detailed information about TCP connection and UDP             
      sockets                                                               
-a  - Display information for all TCP connections and UDP sockets,          
      including some recently closed ones                                   
-b  - Display the byte-count information for each active TCP                
      connection and UDP socket                                             
-C  - Display information about TCP connections utilizing the               
      Cache Accelerator                                                     
-c  - Display information about each active TCP connection and UDP          
      socket (Default option)                                               
-d  - Display information about devices and defined interface or            
      links                                                                 
-e  - Display information about local users of TCP/IP services              
      (jobname)                                                             
-F  - Display the dynamic VIPA configuration information                    
-f  - Display the TCP/IP configuration information                          
-g  - Display information about the stack routing table for IPv4            
      destinations                                                          
-h  - Display information about each home IP address and its               
      associated link or interface name                                    
-J  - Displays information for all job-specific source VIPA IP             
      address associations                                                 
-j  - Display QoS policy statistics                                        
-k  - Display information about Intrusion Detection Services               
-l  - Display the policy table for IPv6 default address selection
-n  - Display the IPv6 Neighbor cache entries                              
-O  - Display the dynamic VIPA Destination Port Table                      
-o  - Display port reservation list  
-q  - Display resolver cache information                                      
-R  - Query ARP table or entry information (IPv4 only)                     
-r  - Display stack routing information                    
-S  - Display TCP/IP statistics                                            
-s  - Display information about each client using socket                   
      application programming interface                                    
-t  - Display TN3270 Telnet server connections                             
-u  - Date and time tcpip was last started                                 
-V  - Display the dynamic VIPA Connection Routing Table                    
-v  - Display the current dynamic VIPA and VIPAROUTE information 
-x  - Display Application Transparent Transport Layer
      Security (AT-TLS) information 
-?  - Display Netstat parameters list                                      
Target:                                                                    
-p  - Display detailed information about the specified                     
      TCPIP address space                                                  
Output:                                                                    
-M  - Display Netstat report in a given format                             
  
Filter:    
-B    Filter output of the -A, -a, -c, -s, -t, -O, and -V reports 
      using the specified IP address and port number                   
-E    Filter the output of -A, -a, -b, -c, -e, -s, and -t reports          
      using the specified client name                                      
-G    Filter the output of -A, -a, and -c reports using the specified 
      application data
-H    Filter the output of -A, -a, -b, -c, -q, -s, -t, and -V reports          
      using the specified host name                                        
-I    Filter the output of -A, -a, -b, -c, -F, -g, -n, -q, -r, -s, -t, -O,     
      and -V reports using the specified IP address                        
-K    Filter the output of -d and -h reports using the specified name      
-L    Filter the output of -t report using the specified LU name           
-N    Filter the output of -t report using the specified application       
      name                                                                 
-P    Filter the output of -A, -a, -c, -s, -t, -O, -o and -V reports       
      using the specified port                                             
-Q    Filter the output of -q report using the specified DNS IP address.
-T    Filter the output of -A, -a, -b, -c, -e, and -s reports            
      excluding TN3270 server connections                                
-U    Filter the output of -A, -a, -c, and -d reports using the specified
      SMC-R link or link group identifier
-X    Filter the output of -a, and -c reports using the specified connection
      type 
-Y    Filter the output of -j report using the specified policy name     
Command:                                                                 
-D  - Terminates the socket end-point that is identified by the          
      specified connection number