From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 21:27:26 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A1E516A41F for ; Fri, 30 Dec 2005 21:27:26 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52EC543D64 for ; Fri, 30 Dec 2005 21:27:24 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EsRmN-000708-1Y for freebsd-questions@freebsd.org; Fri, 30 Dec 2005 22:27:15 +0100 Received: from r5bp69.chello.upc.cz ([86.49.75.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Dec 2005 22:27:15 +0100 Received: from element by r5bp69.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Dec 2005 22:27:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Pavel Duda Date: Fri, 30 Dec 2005 22:27:01 +0100 Lines: 24 Message-ID: References: <20051230014445.X1087@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5bp69.chello.upc.cz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041103 Thunderbird/0.9 Mnenhy/0.6.0.104 X-Accept-Language: en-us, en In-Reply-To: <20051230014445.X1087@ganymede.hub.org> Sender: news Subject: Re: How much memory is a jail using ... ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2005 21:27:26 -0000 Marc G. Fournier wrote: > > Is there an easy way to do this? I know I can find out what processes > are running in a jail by looking at /proc/*/status ,but none of the > fields appear to relate to memory used by that process ... so, I'm > guessing I should be able to 'read' one of the other fiels in the procfs > directory for this? > > Thanks ... > > ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Hmm interesting question, I'm afraid that fastest but not very accurate way is to use ps SIZE and count it for jailed processes. Pavel