Date: Mon, 14 Aug 2006 20:02:24 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-questions@FreeBSD.ORG Subject: Re: Cacti & FreeBSD Jail CPU & RAM monitoring Message-ID: <200608141802.k7EI2Ovi001017@lurza.secnetix.de> In-Reply-To: <6C0CF58A187DA5479245E0830AF84F421D1087@poweredge.attiksystem.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
Philippe Lang <philippe.lang@attiksystem.ch> wrote: > 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? You can monitor the numbers from the ps(1) output per jail, see the other answers in this thread. However, you should be aware of the fact that processes share memory, even when running in different jails. For example, most processes are linked against the standard C library (libc), and its size is included in the size of every process, as reported by ps(1) -- but the code of the library is only loaded once into memory, i.e. it is shared between processes, independent of jails. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "What is this talk of 'release'? We do not make software 'releases'. Our software 'escapes', leaving a bloody trail of designers and quality assurance people in its wake."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608141802.k7EI2Ovi001017>