The Netstat Command


This command is used to query the network subsystem regarding certain types of information. Different types of information will be received depending on the switches used in conjunction with this command.



Usage:  netstat [switch]



Switches:       -A     Shows the addresses of any associated protocol control blocks.

                        -a      Will show the status of all sockets. Sockets associated with network

                                 server processes are normally not shown.

                        -i       Shows the state of the network interfaces.

                        -m     Prints the network memory usage.

                        -n      Causes netstat to show actual addresses as opposed to hostnames or

                                  network names.

                        -r       Prints the routing table.

                        -s      Tells netstat to show the per protocol statistics.

                        -t       Replaces the queue length information with timer information.