Use the netstat
command to display statistics about each network interface and socket and statistics about the network routing table. Use the netstat
command with the attributes shown in the table that follows.
Attribute |
Function |
|
Display the state of all sockets and all routing table entries. |
|
Limit the statistics or address control block reports to those of the specified family. (The address family can be inet for the AF_INET family or Unix for the AF_Unix family.) |
|
Display the multicast group memberships for all interfaces. |
|
Display the state of the interfaces that are used for TCP/IP traffic. |
|
Display the STREAMS statistics. |
|
Display the network addresses as numbers. |
|
Display the address resolution tables. |
|
Display the routing tables. |
|
Display the per-protocol statistics. |
|
Display additional information for the sockets and the routing table. |
|
Display the state of a particular interface. |
|
Display the multicast routing tables. |
|
Limit the display of statistics or state of all sockets to those applicable to protocol. |