next up previous contents
Next: Displaying Connections Up: Checking with netstat Previous: Displaying the Routing Table

Displaying Interface Statistics


When invoked with the -i flag, netstat will display statistics for the network interfaces currently configured. If, in addition, the -a option is given, it will print all interfaces present in the kernel, not only those that have been configured currently. On vstaout, the output from netstat will look like this:

The MTU and Met fields show the current MTU and metric value for that interface. The RX and TX columns show how many packets have been received or transmitted error free (RX-OK/TX-OK), damaged (RX-ERR/TX-ERR), how many were dropped (RX-DRP/TX-DRP), and how many were lost because of an overrun (RX-OVR/TX-OVR).

The last column shows the flags that have been set for this interface. These are one-character versions of the long flag names the are printed when you display the interface configuration with ifconfig.

Andrew Anderson
Thu Mar 7 23:22:06 EST 1996