On Mon, Mar 13, 2006 at 05:20:17PM +0800, David Miao wrote:
> By the way, anyone could tell me 1 packet = ? bytes?

That varies quite a bit.  Normally a packet is somewhere between 50 and 1500
bytes long, but it can sometimes be larger or smaller.

> 
> Thanks.
> 
> On 3/13/06, David Miao <[EMAIL PROTECTED]> wrote:
> > Dear list,
> >
> > `netstat -i' returns _packets_, how can I get statistics using _bytes_?
> >
> > Any suggestions or hints? Thanks!
> >
> > Regards,
> > David
> >
> >
> > dm% netstat -i
> > Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs  
> > Coll
> > fxp0   1500 <Link#1>      00:06:5b:3c:cb:01  3881033     0  2848419     0   
> >   0
> > fxp0   1500 fe80:1::206:5 fe80:1::206:5bff:        0     -        3     -   
> >   -
> > fxp0   1500 10.128/22     10.128.3.126       3119189     -  2842189     -   
> >   -
> > fxp1*  1500 <Link#2>      00:06:5b:3c:cb:02        0     0        0     0   
> >   0
> > lo0   16384 <Link#3>                             627     0      627     0   
> >   0
> > lo0   16384 localhost     ::1                      0     -        0     -   
> >   -
> > lo0   16384 fe80:3::1     fe80:3::1                0     -        0     -   
> >   -
> > lo0   16384 your-net      localhost              627     -      627     -   
> >   -
> >

-- 
<Insert your favourite quote here.>
Erik Trulsson
[EMAIL PROTECTED]
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to