From owner-freebsd-questions@FreeBSD.ORG Mon Aug 14 18:02:35 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE07416A4DA for ; Mon, 14 Aug 2006 18:02:35 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 424F443D5E for ; Mon, 14 Aug 2006 18:02:30 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (wdixgp@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k7EI2Ofw001018 for ; Mon, 14 Aug 2006 20:02:29 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k7EI2Ovi001017; Mon, 14 Aug 2006 20:02:24 +0200 (CEST) (envelope-from olli) Date: Mon, 14 Aug 2006 20:02:24 +0200 (CEST) Message-Id: <200608141802.k7EI2Ovi001017@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG In-Reply-To: <6C0CF58A187DA5479245E0830AF84F421D1087@poweredge.attiksystem.ch> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 14 Aug 2006 20:02:29 +0200 (CEST) Cc: Subject: Re: Cacti & FreeBSD Jail CPU & RAM monitoring X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 18:02:35 -0000 Philippe Lang 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."