Skip site navigation (1)Skip section navigation (2)
Date:      27 Sep 1997 12:04:46 +0800
From:      keyser@clio.rice.edu (Kevin Keyser)
To:        questions@freebsd.org
Subject:   netstat -i for lo0
Message-ID:  <60i0ku$nqj$1@FreeBSD.csie.NCTU.edu.tw>

next in thread | raw e-mail | index | archive | help
I am running 2.2.2R at home on a P5/60/PCI/EISA, 32M, Adaptec 2742,
3com 3c592.  OS/2 is on one SCSI disk, FreeBSD on the other, using
OS/2's boot manager.

I have been seeing some strange behavior in my "netstat -i" numbers
for the loopback.  Each time I run "netstat -i", ipkts and opkts are
incremented by 48.  Note that it does not matter how long or short I
wait between invocations; the change is always 48, like running
netstat causes it.  In the example below, the machine is otherwise
*very* idle, no cron jobs other than the install defaults, and is
the only node up on my net.

Otherwise, everthing is working fine and there seems to be no bad
effect from this situation other than it's bugging me.  I have a
similarly configured system at work which does not do this.  Does
anyone know an explanation?

Thanks.

Kevin

------------------------------------------------------

nova# netstat -i
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
vx0   1500  <Link>      00.a0.24.38.85.e6        0     0        1     0     0
vx0   1500  172.16.1/24   nova                   0     0        1     0     0
lp0*  1500  <Link>                               0     0        0     0     0
lo0   16384 <Link>                             288     0      288     0     0
lo0   16384 your-net      localhost            288     0      288     0     0
nova# netstat -i
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
vx0   1500  <Link>      00.a0.24.38.85.e6        0     0        1     0     0
vx0   1500  172.16.1/24   nova                   0     0        1     0     0
lp0*  1500  <Link>                               0     0        0     0     0
lo0   16384 <Link>                             336     0      336     0     0
lo0   16384 your-net      localhost            336     0      336     0     0
nova# netstat -i
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
vx0   1500  <Link>      00.a0.24.38.85.e6        0     0        1     0     0
vx0   1500  172.16.1/24   nova                   0     0        1     0     0
lp0*  1500  <Link>                               0     0        0     0     0
lo0   16384 <Link>                             384     0      384     0     0
lo0   16384 your-net      localhost            384     0      384     0     0
nova# ifconfig -a
vx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 172.16.1.10 netmask 0xffffff00 broadcast 172.16.1.255
	ether 00:a0:24:38:85:e6 
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
nova# ps -ax
  PID  TT  STAT      TIME COMMAND
    0  ??  DLs    0:00.01  (swapper)
    1  ??  Is     0:00.03 /sbin/init --
    2  ??  DL     0:00.00  (pagedaemon)
    3  ??  DL     0:00.00  (vmdaemon)
    4  ??  DL     0:00.15  (update)
   25  ??  Is     0:00.09 mfs -s 24576 /dev/sd0s3b /tmp (mount_mfs)
   75  ??  Ss     0:00.13 syslogd
   84  ??  Is     0:00.01 portmap
   94  ??  I      0:00.00 nfsiod -n 4
   95  ??  I      0:00.00 nfsiod -n 4
   96  ??  I      0:00.00 nfsiod -n 4
   97  ??  I      0:00.00 nfsiod -n 4
  110  ??  Is     0:00.14 inetd
  112  ??  Is     0:00.06 cron
  115  ??  Is     0:00.04 lpd
  118  ??  Is     0:00.02 sendmail: accepting connections on port 25 (sendmail)
  164  ??  I      0:00.02 /usr/libexec/getty std.9600 ttyd0
  160  v0  Ss     0:00.26 -csh (csh)
  206  v0  R+     0:00.02 ps -ax
  161  v1  Is     0:00.49 -tcsh (tcsh)
  176  v1  I+     0:00.08 tip direct
  177  v1  I+     0:01.02 tip direct
  162  v2  Is+    0:00.03 /usr/libexec/getty Pc ttyv2
  163  v3  Is+    0:00.03 /usr/libexec/getty Pc ttyv3



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60i0ku$nqj$1>