Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 1997 09:54:44 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Kevin Keyser <keyser@clio.rice.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: netstat -i for lo0
Message-ID:  <19970928095444.58762@lemis.com>
In-Reply-To: <9709270102.AA04983@clio.rice.edu>; from Kevin Keyser on Fri, Sep 26, 1997 at 08:02:26PM -0500
References:  <9709270102.AA04983@clio.rice.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 26, 1997 at 08:02:26PM -0500, Kevin Keyser wrote:
> 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.

So there can be only one program which is performing these accesses,
right?  netstat itself!

Some

>
> 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

--
Greg Lehey                       LEMIS
grog@lemis.com			 PO Box 460
Tel: +61-8-8388-8286		 Echunga SA 5153
Fax: +61-8-8388-8725		 Australia

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2i

mQCNAzGpfDEAAAEEAMh6rH1c9+oKgazwGLitshrIFKFSGelccTK1fwnMw2O6SrK8
r0ttvRO42fZa8WXvlsSF1JIAqOJoaBP8HJNv6G/RA1NcKgqQKLc4RmTNnu6MoPe0
a25w25wyKOfzefJTS9dsQhWg2XJlyRo4YMtbSxDOZldq7kmga0Sj8+byVwABAAUR
tBNDQyA8Y2NAbWFyY2FkZS5jb20+tAZDb250cm8=
=FJvY
-----END PGP PUBLIC KEY BLOCK-----



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