From owner-freebsd-stable Sun Mar 4 3:37:11 2001 Delivered-To: freebsd-stable@freebsd.org Received: from nebula.cybercable.fr (d217.dhcp212-126.cybercable.fr [212.198.126.217]) by hub.freebsd.org (Postfix) with ESMTP id 6960F37B719 for ; Sun, 4 Mar 2001 03:37:05 -0800 (PST) (envelope-from mux@qualys.com) Received: (from mux@localhost) by nebula.cybercable.fr (8.11.2/8.11.2) id f24BZRe00593 for stable@freebsd.org; Sun, 4 Mar 2001 12:35:27 +0100 (CET) (envelope-from mux) Date: Sun, 4 Mar 2001 12:35:26 +0100 From: Maxime Henrion To: stable@freebsd.org Subject: netstat problem Message-ID: <20010304123526.A348@nebula.cybercable.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Here is an output of sockstat -4, running 4.2-STABLE with a new kernel from this morning : USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root XFree86 325 1 ? ? ? nobody httpd 311 16 ? ? ? nobody httpd 310 16 ? ? ? root healthd 296 6 ? ? ? root httpd 288 16 ? ? ? root sshd 230 4 ? ? ? root sendmail 226 4 ? ? ? root sendmail 226 5 ? ? ? root lpd 223 6 ? ? ? [...] The only thing that I changed for this kernel is that I replaced -march=pentium with -march=k6 in the CFLAGS. I didn't know that k6 was a valid cpu type for gcc and discovered this with the CPUTYPE introduction of kris. I don't think it comes from here though because I've seen someone having a similar problem on the mailing list. It seems netstat is broken. It fails to correctly display TCP statistics. However, it prints UDP correctly. I didn't rebuild world, only the kernel, but I rebuilt netstat too to be sure it wasn't a kernel/userland sync problem even if /usr/src/UPDATING says nothing about this. Maxime -- Don't be fooled by cheap finnish imitations ; BSD is the One True Code Key fingerprint = F9B6 1D5A 4963 331C 88FC CA6A AB50 1EF2 8CBE 99D6 Public Key : http://www.epita.fr/~henrio_m/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message