Date: Wed, 12 Feb 2014 17:17:25 +0000 From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: Vijay Singh <vijju.singh@gmail.com> Cc: FreeBSD Net <net@freebsd.org> Subject: Re: netstat for vnets Message-ID: <BB80F4EF-6395-4305-83CF-69B1A74F1215@FreeBSD.org> In-Reply-To: <BABCE0F0-6E48-4636-A9FD-C06BDA7D9E27@gmail.com> References: <C8467D00-8CF0-4737-B261-DCB4C3A87146@gmail.com> <20140211114329.43bda628@x23> <BABCE0F0-6E48-4636-A9FD-C06BDA7D9E27@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Feb 2014, at 14:56 , Vijay Singh <vijju.singh@gmail.com> wrote: >=20 > On Feb 11, 2014, at 2:43 AM, Marko Zec <zec@fer.hr> wrote: >=20 >> On Mon, 10 Feb 2014 21:24:52 -0800 >> Vijay Singh <vijju.singh@gmail.com> wrote: >>=20 >>> How does "jexec <jid> netstat -an" get its data from the kernel? I >>> know that netstat uses kvm, but I'm not sure how it works with >>> vnet-jails. Any pointers would be much appreciated. netstat -an should use sycsctls; see net.inet.tcp.pcblist , = net.inet.udp.pcblist , net.inet.raw.pcblist , net.local.stream.pcblist , = net.local.dgram.pcblist , etc. netstat -rn used to be the problem but a quick glance suggests that it = might use a sysctl as well these days? =97=20 Bjoern A. Zeeb ????????? ??? ??????? ??????: '??? ??? ???? ?????? ??????? ?? ?? ??????? ??????? ??? ????? ????? ???? ?????? ?? ????? ????', ????????? ?????????, "??? ????? ?? ?????", ?.???
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BB80F4EF-6395-4305-83CF-69B1A74F1215>