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 objections?


Andrew

Attachment: sockstat_jid.diff
Description: Binary data

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"

Reply via email to