Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2007 11:58:58 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        FreeBSD Current <current@freebsd.org>
Subject:   Re: netstat wierdness?
Message-ID:  <45F45172.8070601@elischer.org>
In-Reply-To: <45F388D4.2080900@elischer.org>
References:  <45F388D4.2080900@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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)

> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"




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