Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2016 19:38:09 +0200
From:      Artem Viklenko <artem@viklenko.net>
To:        Gary Palmer <gpalmer@freebsd.org>
Cc:        Eugene Grosbein <egrosbein@rdtc.ru>, freebsd-net <freebsd-net@freebsd.org>, "Eugene M. Zheganin" <emz@norma.perm.ru>, freebsd-stable@freebsd.org, owner-freebsd-net@freebsd.org
Subject:   Re: sonewconn: pcb [...]: Listen queue overflow to human-readable form
Message-ID:  <5a9d2ce3069c2ae45ca1d722e6e19236@mail.viklenko.net>
In-Reply-To: <20161215160557.GC7032@in-addr.com>
References:  <58528B50.8030600@norma.perm.ru> <58528C6B.8070800@rdtc.ru> <7f33d47e2014d9c994f8b2003b011ba3@mail.viklenko.net> <20161215160557.GC7032@in-addr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2016-12-15 18:05, Gary Palmer написав:
> On Thu, Dec 15, 2016 at 05:27:02PM +0200, Artem Viklenko wrote:
>> 2016-12-15 14:28, Eugene Grosbein ??????????????:
>> > On 15.12.2016 19:23, Eugene M. Zheganin wrote:
>> >
>> >> but at the time of investigation the socket is already closed and lsof
>> >> cannot show me the owner. I wonder if the kernel can itself decode
>> >> this
>> >> output and write it in the human-readable form ?
>> >
>> > Until that's not implemented, you can monitor "netstat -Lan" output and
>> > continuously save it for later analisys and/or draw graphs.
>> >
>> 
>> netstat -LanA -f inet ?
> 
> That's only IPv4 sockets (or sockets that are listening on both 
> families
> at the same time).  If you are dual stack with IPv6, you'd probably 
> also
> need to capture
> 
> netstat -LanA -f inet6
> 

Sure, the point was that -A flag showes tcb addresses. :)


> Regards,
> 
> Gary

-- 
Regards!



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