Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 1996 02:07:08 +1100
From:      davidn@sdev.usn.blaze.net.au (David Nugent)
To:        freebsd-current@freebsd.org
Subject:   netstat -i
Message-ID:  <Mutt.19961222020708.davidn@sdev.blaze.net.au>

next in thread | raw e-mail | index | archive | help
-current as of last Wednesday:

FreeBSD server.blaze.net.au 3.0-CURRENT FreeBSD 3.0-CURRENT #11:
Wed Dec 18 20:52:46 EST 1996     
davidn@server.blaze.net.au:/usr/src/sys/compile/SERVER  i386  

netstat -i reports:

Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll   
ed0*  0     <Link>      00.40.c7.21.ce.74 10000000 933493        0 965262     0 
ed0*  0     255.255.255&0 server          10000000 933493        0 965262     0 
sl0*  0     <Link>                           57600 15125        0 17320     0   
sl0   0     <Link>                               0     0        0     0     0   
sl0*  0     <Link>                               0     0        0     0     0   
[...]
ppp0* 0     <Link>                           38400 274592        0 253373     0 
ppp0* 0     255.255.255&0 server             38400 274592        0 253373     0 
ppp0  0     <Link>                           57600 249222       28 251743     0 
ppp0  0     255.255.255&0 server             57600 249222       28 251743     0 
ppp0* 0     <Link>                           57600 145389       22 131347     0 
ppp0  0     <Link>                           57600 81476        5 77418     0   
ppp0  0     255.255.255&0 server             57600 81476        5 77418     0   
ppp0* 0     <Link>                           57600 98785        3 93338     0   
ppp0  0     <Link>                           57600 39057       12 35701     0   
ppp0* 0     <Link>                           57600 22623        1 20365     0   
ppp0  0     <Link>                           57600 12720        1 12300     0   
ppp0* 0     <Link>                           57600 15895        0 15328     0   
ppp0  0     <Link>                           57600  5407        0  5563     0   
ppp0* 0     <Link>                           57600   677        0   589     0   
[....]
lo0*  0     <Link>                               0 49156        0 49156     0   
lo0*  0     your-net&0x7f local                  0 49156        0 49156     0   

This is running a kernel configured with an ethernet card, 4
slip units, 32 ppp units and loopback. Obviously the unit
numbers are wrong, and why the lines are duplicated is a
mystery. Certainly the statistics are way wrong, or at least
in the wrong column. Perhaps the printf() statement is just
misaligned?

On another box,

FreeBSD sdev.usn.blaze.net.au 3.0-CURRENT FreeBSD 3.0-CURRENT #0:
Wed Dec 11 13:58:59 EST 1996     
root@sdev.usn.blaze.net.au:/usr/src/sys/compile/SDEV  i386   

running a kernel a couple of weeks older configured with 4 ppp
devices, 2 slip, ethernet, and loopback, netstat -i looks fine.


Regards,

David Nugent - Unique Computing Pty Ltd - Melbourne, Australia
Voice +61-3-9791-9547  Data/BBS +61-3-9792-3507  3:632/348@fidonet
davidn@freefall.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19961222020708.davidn>