Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Displaying network statistics (netstat)

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

-a

Display the state of all sockets and all routing table entries.

-f address_family

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.)

-g

Display the multicast group memberships for all interfaces.

-i

Display the state of the interfaces that are used for TCP/IP traffic.

-m

Display the STREAMS statistics.

-n

Display the network addresses as numbers.

-p

Display the address resolution tables.

-r

Display the routing tables.

-s

Display the per-protocol statistics.

-v

Display additional information for the sockets and the routing table.

-I interface

Display the state of a particular interface.

-M

Display the multicast routing tables.

-P protocol

Limit the display of statistics or state of all sockets to those applicable to protocol.

© 2006 Avaya Inc. All Rights Reserved.