Date: Mon, 14 Aug 2006 09:28:22 -0700 From: "pete wright" <nomadlogic@gmail.com> To: "Philippe Lang" <philippe.lang@attiksystem.ch> Cc: questions@freebsd.org Subject: Re: Cacti & FreeBSD Jail CPU & RAM monitoring Message-ID: <57d710000608140928p4ae4e355kd364951f2f4d8679@mail.gmail.com> In-Reply-To: <6C0CF58A187DA5479245E0830AF84F421D1087@poweredge.attiksystem.ch> References: <6C0CF58A187DA5479245E0830AF84F421D1087@poweredge.attiksystem.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/14/06, Philippe Lang <philippe.lang@attiksystem.ch> wrote: > Hi, > > I'd like to use Cacti for CPU and RAM usage monitoring on my FreeBSD Server. > > Is there a way to do monitoring for each jail independently? I guess the answer is "no" for CPU usage, but is there a way maybe to get the RAM usage of the processes of each jail? > using cacti's scripting ability you actually may be able to get some sort of usefull info. for example, you can use "ps auxwl" to get some pretty detailed info on process which are in jails (third filed is %CPU, fourth %MEM). it may take a little work to sort out which jail a process resides in - . this method will only work from the master as well. similar tricks can be used inside a jail as well. HTH -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57d710000608140928p4ae4e355kd364951f2f4d8679>