From owner-freebsd-current@FreeBSD.ORG Wed May 16 05:41:02 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86ECE1065670 for ; Wed, 16 May 2012 05:41:02 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id F223E8FC1C for ; Wed, 16 May 2012 05:41:01 +0000 (UTC) Received: by laai10 with SMTP id i10so325989laa.13 for ; Tue, 15 May 2012 22:41:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=mNaQi4viHKhpzZYyXbddu7Y46P2ykNPVu0gBPM0coN0=; b=xeBXgAeqQS+DzGtOJejtwAJGBNOqv5whvx2kkmGvFWiE3xbQ/7Bf9mJVtimK2wVccm vIHISwyzIUNVLjBPkD8MVC2ViWCOFSJpYJTcIaifWriIXT2SOdtX2zZ8pHgngtPd4mo0 RUUFVNfyU48SczoxQy0rA0tbR9aEdX7mj2KPWcZuHVahUcV7gNPKUp89ca8vDRyFxAEo gfIPvevQqxeRLVHxvjb7MZuljCZ7kMAz0dqBEHgzz7NIZGa7pSrQuzbXWRpc0knGfWdA Ir+VuHWSP7hWStIo0BcEV278H8qx/nHhfpT2m1fyNXH4yIxWehWsu/NWLXibuMtL7ZN4 EjkQ== Received: by 10.152.46.6 with SMTP id r6mr1753065lam.7.1337146860618; Tue, 15 May 2012 22:41:00 -0700 (PDT) Received: from laptop (m-s.agava.net. [195.222.84.203]) by mx.google.com with ESMTPS id gd9sm2010940lbb.15.2012.05.15.22.40.58 (version=SSLv3 cipher=OTHER); Tue, 15 May 2012 22:40:59 -0700 (PDT) Date: Wed, 16 May 2012 08:41:38 +0300 From: "Sergey V. Dyatko" To: "current@freebsd.org Current" Message-ID: <20120516084138.68aa3076@laptop> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: sockstat & jid patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2012 05:41:02 -0000 On Wed, 16 May 2012 15:12:50 +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 when -j is set but I > do not think warrants a process cache. > > Any objections? > Necessary thing for me, thanks. Only one question: that patch and releng_[78].. will it work? > > Andrew -- wbr, tiger