Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2005 22:27:01 +0100
From:      Pavel Duda <element@email.cz>
To:        freebsd-questions@freebsd.org
Subject:   Re: How much memory is a jail using ... ?
Message-ID:  <dp48ne$jr4$1@sea.gmane.org>
In-Reply-To: <20051230014445.X1087@ganymede.hub.org>
References:  <20051230014445.X1087@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dp48ne$jr4$1>