Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2009 18:06:30 -0300 (ADT)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Tools to calculate memory usage per jail
Message-ID:  <20090603180622.Q56412@hub.org>
In-Reply-To: <4A265309.4020700@quip.cz>
References:  <20090603063520.I56412@hub.org> <4A265309.4020700@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help

That definitely helps, thx ...

On Wed, 3 Jun 2009, Miroslav Lachman wrote:

> Marc G. Fournier wrote:
>> 
>> Subject says it all ... does anyone know of / have such a tool?
>
> I am using some modified shell script - jps. It is based on Oliver Fromme 
> http://www.secnetix.de/~olli/scripts/jps
>
> My version is attached. If jps is called with JID param, you get list of 
> processes of given jail and summary like this:
>
> ==============================
> summary for JID 6 / tester1.example.com
> %MEM    RSS       VSZ   %CPU
>   5    221064   1034648   0
>
> It is far from perfect tool, but it is enough to my needs.
>
> Or you can ask on freebsd-jail@freebsd.org list, where are more skilled 
> peoples around jails :)
>
> [Stef Walter is working on bsnmp-jails, maybe he is able to extend it for 
> memory usage too]
>
> Miroslav Lachman
>

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy@hub.org                              MSN . scrappy@hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090603180622.Q56412>