tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Seeking opinion on where networking-related user space code should go

On Apr 16, 2013, at 4:35 PM, Beverly Schwartz <> 

> On Apr 16, 2013, at 7:28 PM, Matt Thomas <> 
> wrote:
>> On Apr 16, 2013, at 3:55 PM, Beverly Schwartz <> 
>> wrote:
>>> Keep in mind, there can be up to 8192 clusters, so there is potentially a 
>>> *lot* of data.  Using kvm, we can also follow pointers in the data to 
>>> inspect the contents of mbuf's and mbuf clusters.  I expect that this, too, 
>>> could be quite useful.
>> sysctl kern.mbuf….
>> seems like netstat -m should display it if available.
>> maybe -m -v
> sysctl isn't designed to dump huge amounts of data.  I can imagine it would 
> be very annoying if when doing sysctl kern.mbuf, a deluge of data comes 
> along.  I would be producing more data than what sysctl -a produces several 
> times over.
> netstat -m -v
> sounds like a good option.

we use sysctl for getting the routing table and pcblists.

Home | Main Index | Thread Index | Old Index