1.101 NETSTAT

Purpose

Use at the server console to monitor the network status.

Netstat prints information about the NetWare networking subsystem. The type of information printed is controlled by the first argument.

Syntax



netstat [-aLn] [-f address_family]  netstat [-rn] [-f address_family]  netstat [-bdi] [-I interface] -w wait   netstat [-p protocol]  netstat [-s] [-f address_family] [-i] [-I interface]  netstat -help

The following table contains a list of supported options and a description of what each does.

Option

Use To

(none)

Display the syntax for the utility.

-a

Show the state of all sockets along with the default display. (Normally, sockets used by server processes are not shown.)

-L

Display a list of ports TCP/IP is listening on.

-n

Display network addresses as numbers. (Normally, NETSTAT interprets addresses and attempts to display them symbolically.) This option can be used with any of the display formats.

-f address_family

Limit statistics or address control block reports to those of the specified address_family.

Supported address_family: inet

-r

Display the routing tables.

-b

Display the number of bytes in and out when used with the interface display option -i.

-d

Display the number of dropped packets when used with the interface display option -i.

-i

Display the state of all interfaces. If the -f address_family option is also used, then the -i option displays per-interface statistics on all interfaces for the specified address_family.

-l interface

Display information about the specified interface; used with a wait Interval. If the -f address_family option (with the -s option) is also used, then the -l interface option displays per-interface statistics on the interface for the specified address_family.

-w wait

Display network interface statistics at specified intervals. Replace wait with the number of seconds to wait between displays.

-p protocol

Display statistics about the specified protocol, which is either a well-known name for a protocol or an alias for it.

Supported protocols: TCP, UDP, IP, ICMP, EGP, OSPF

-s

Display all the protocol statistics.

-help

Display detailed help for this utility.