From owner-freebsd-questions Fri Sep 26 23:41:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA02862 for questions-outgoing; Fri, 26 Sep 1997 23:41:21 -0700 (PDT) Received: from FreeBSD.csie.NCTU.edu.tw (daemon@freebsd.csie.nctu.edu.tw [140.113.235.250]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA02824 for ; Fri, 26 Sep 1997 23:40:54 -0700 (PDT) Received: (from daemon@localhost) by FreeBSD.csie.NCTU.edu.tw (8.8.7/8.8.5) id OAA28152; Sat, 27 Sep 1997 14:40:28 +0800 (CST) To: questions@freebsd.org Path: not-for-mail From: keyser@clio.rice.edu (Kevin Keyser) Newsgroups: mailing.freebsd.questions Subject: netstat -i for lo0 Date: 27 Sep 1997 14:40:28 +0800 Organization: NCTU CSIE FreeBSD Server Lines: 77 Message-ID: <60i9os$rfl$1@FreeBSD.csie.NCTU.edu.tw> Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 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 0 0 0 0 0 lo0 16384 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 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 0 0 0 0 0 lo0 16384 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 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 0 0 0 0 0 lo0 16384 384 0 384 0 0 lo0 16384 your-net localhost 384 0 384 0 0 nova# ifconfig -a vx0: flags=8843 mtu 1500 inet 172.16.1.10 netmask 0xffffff00 broadcast 172.16.1.255 ether 00:a0:24:38:85:e6 lp0: flags=8810 mtu 1500 lo0: flags=8049 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