-a Displays the state of sockets related to
the Internet protocol. Includes sockets for
processes such as servers that are currently
listening at a socket but are otherwise
inactive.
-b Displays the contents of the Mobile IPv6
binding cache. When used with the -s option,
it displays binding cache statistics.
-d Displays the number of dropped packets; for
use with the -I interface or -i flags. You
can also specify an interval argument (in
seconds).
-f address_family Limits reports to the specified address
family. Specify one of the following:
inet Specifies reports of the AF_
INET family, if present in the
kernel.
inet6 Specifies reports of the AF_
INET6 family, if present in the
kernel.
all Lists information about all
address families in the system.
any Lists information about any
address families in the system.
-H Displays the current ARP table (behaves like
arp -a).
-i Displays the state of configured interfaces.
(Interfaces that are statically configured
into the system, but not located at system
startup, are not shown.)
When used with the -a flag, it displays IP
and link-level addresses associated with the
interfaces.
You can use the -i flag to retrieve your
system's hardware address.
When used with the -p protocol flag, it
displays interface statistics on the interface
for specified protocol.
-I interface Displays information about the specified
interface.
-m Displays information about memory allocated
to data structures associated with network
operations.
-M Displays Internet protocol multicast routing
information. When used with the -s flag, it
displays IP multicast statistics.
-n Displays network address in numerical format
with network masks in CIDR format. When
this flag is not specified, the address is
displayed as hostname and port number. This
flag can be used with any of the display
formats.
-p protocol Displays statistics for the specified
protocol, which you can specify as a well
known name or an alias. With the -i flag,
displays interface statistics on the interface
for the specified protocol:
o -ip icmp
o -ip ip
o -ip tcp
o -ip udp
A null listing (0) means that there is no data
to report. If routines to report statistics
for a specified protocol are not implemented
on this system, netstat reports that the
protocol is unknown.
-r Displays the host's routing tables. When used
with the -s flag, shows the host's routing
statistics instead of routing tables.
-s Displays statistics for each protocol.
-t Displays timer information; for use with the
-I interface or -i flags.
-v Displays more verbose output when specified
with the -r flag. In this case, route metric
values are displayed.
-z Sets the network interface counters to zero.
This flag must be specified with the -I
interface flag. In addition, you must be a
privileged user to use this flag.