From owner-freebsd-current@FreeBSD.ORG Sun Mar 11 20:15:42 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D9B516A404 for ; Sun, 11 Mar 2007 20:15:42 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by mx1.freebsd.org (Postfix) with ESMTP id ED5A913C46E for ; Sun, 11 Mar 2007 20:15:41 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by freebsd.czest.pl (8.13.4/8.12.9) with ESMTP id l2BKEQPZ007515; Sun, 11 Mar 2007 20:14:27 GMT (envelope-from dunstan@freebsd.czest.pl) Received: (from dunstan@localhost) by freebsd.czest.pl (8.13.4/8.12.9/Submit) id l2BKEPKi007514; Sun, 11 Mar 2007 20:14:25 GMT (envelope-from dunstan) Date: Sun, 11 Mar 2007 20:14:23 +0000 From: "Wojciech A. Koszek" To: Julian Elischer Message-ID: <20070311201423.GA7486@FreeBSD.czest.pl> References: <45F388D4.2080900@elischer.org> <45F45172.8070601@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <45F45172.8070601@elischer.org> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (freebsd.czest.pl [80.48.250.4]); Sun, 11 Mar 2007 20:14:27 +0000 (UTC) Cc: FreeBSD Current Subject: Re: netstat wierdness? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Mar 2007 20:15:42 -0000 On Sun, Mar 11, 2007 at 11:58:58AM -0700, Julian Elischer wrote: > Julian Elischer wrote: > >just did make buildworld buildkernel installkernel installworld mergemaster > >reboot.. > > > >netstat now doesn't seem to be able to show open tcp sessions: > > > >I'm ssh'd into this machien so ther eIS at least one tcp session. > > > > > >root@trafmon1:netstat > >Active UNIX domain sockets > >Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr > > 0 #0 131073 0 c6420ae0 0 0 0 0 > >#0 131073 0 c6505d98 0 0 0 0 > >#0 2 0 0 c6536410 0 c65371a0 > > 0 #0 2 0 0 c6536410 0 c65350d0 > > 0 #0 2 0 0 c6536410 0 c6513c30 > > 0 #0 2 0 0 c6536410 0 c65375b0 > > 0 #0 2 0 0 c6536410 0 0 > > 0 #0 2 0 c641f828 0 0 0 0 > >#0 2 0 c641f984 0 0 0 0 > >#0 2 0 c6429984 0 c65131a0 0 0 > >#0 2 0 c642b000 0 0 0 > >root@trafmon1:netstat -ptcp -aA > >root@trafmon1: > > > >this is on 2 different machines > > > >anyone else seeing this? > > > > answering myself.. > comes from having options LOCK_PROFILING in my kernel. > adding the same to /etc/make.conf and recompiling netstat and libkvm helped. > (not sure if both are needed) Having netstat(1) recompiled should be enough. -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/dunstan/