Re: sockstat jid patch

2012-05-16 Thread Mateusz Guzik
On Wed, May 16, 2012 at 03:12:50PM +1200, Andrew Thompson wrote: Hi, Here is a quick patch to limit the sockstat output to a specific jail id, this is useful to verify which sockets a jail has open. A jid of 0 will show the host system. This will result in an extra syscall per socket

sockstat jid patch

2012-05-15 Thread Andrew Thompson
Hi, Here is a quick patch to limit the sockstat output to a specific jail id, this is useful to verify which sockets a jail has open. A jid of 0 will show the host system. This will result in an extra syscall per socket when -j is set but I do not think warrants a process cache. Any

Re: sockstat jid patch

2012-05-15 Thread Sergey V. Dyatko
On Wed, 16 May 2012 15:12:50 +1200 Andrew Thompson thom...@freebsd.org wrote: Hi, Here is a quick patch to limit the sockstat output to a specific jail id, this is useful to verify which sockets a jail has open. A jid of 0 will show the host system. This will result in an extra syscall