Cacti & FreeBSD Jail CPU & RAM monitoring

Oliver Fromme olli at lurza.secnetix.de
Mon Aug 14 18:02:35 UTC 2006


Philippe Lang <philippe.lang at 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."


More information about the freebsd-questions mailing list