Re: Tools to calculate memory usage per jail
"Marc G. Fournier" <[email protected]>
| Newsgroups | gmane.os.freebsd.isp |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] 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 . [email protected] MSN . [email protected] Yahoo . yscrappy Skype: hub.org ICQ . 7615664 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "[email protected]"