Tools to calculate memory usage per jail

Marc G. Fournier scrappy at hub.org
Wed Jun 3 21:06:32 UTC 2009


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 at 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 at hub.org                              MSN . scrappy at hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664


More information about the freebsd-isp mailing list