netstat output misleading

Eva R Hocks (hocks@rzri6h.gsi.de)
Thu, 28 May 1998 04:20:39 -0500 (PDT)


Eversince I installed the 2.1.x kernel I noticed a misleading information
from the netstat command. There are not that many Transmit-errors (TX-ERR)
on the interfaces, neither lo nor ippp0. From the /proc/net/dev
information looks like the columns are shifted to the right for 1 col.

netstat -in
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags
lo 3584 0 42 0 0 0 0 2933 42 0 LRU
ippp0 1500 1 8505 0 0 0 0 5377025 11865 0 OPRU

/proc/net/dev has the correct packet information :

Inter-|Receive |Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
lo: 2933 42 0 0 0 0 0 0 2933
42 0 0 0 0 0 0
ippp0: 684187 7907 0 0 0 0 0 0 5368904
11032 0 0 0 0 0 0

Did anybody else notice and know why ?

Eva


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu