How much memory is a jail using ... ?

Pavel Duda element at email.cz
Fri Dec 30 13:27:26 PST 2005


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 at hub.org           Yahoo!: yscrappy              ICQ: 7615664
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at 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



More information about the freebsd-questions mailing list