From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-129615-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RDZh6-0008P8-Ln
	for garchives@archives.gentoo.org; Tue, 11 Oct 2011 10:36:20 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4BA4921C259;
	Tue, 11 Oct 2011 10:36:06 +0000 (UTC)
Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com [209.85.212.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id CC28321C1CC
	for <gentoo-user@lists.gentoo.org>; Tue, 11 Oct 2011 10:35:11 +0000 (UTC)
Received: by vws19 with SMTP id 19so9271980vws.40
        for <gentoo-user@lists.gentoo.org>; Tue, 11 Oct 2011 03:35:11 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.52.28.200 with SMTP id d8mr17958185vdh.56.1318329311220; Tue,
 11 Oct 2011 03:35:11 -0700 (PDT)
Received: by 10.52.70.77 with HTTP; Tue, 11 Oct 2011 03:35:11 -0700 (PDT)
In-Reply-To: <201110111121.19648.michaelkintzios@gmail.com>
References: <CAA2qdGXBpJsr7KvK9y1YiNmcNHnVruVZOnLKQmpUiyh3xGUdJQ@mail.gmail.com>
	<201110111121.19648.michaelkintzios@gmail.com>
Date: Tue, 11 Oct 2011 03:35:11 -0700
Message-ID: <CAAJQwcCVV4Yt_qK4n4z7ttaOmcsDtW3emJ9saJ_UM8jKh=cqfg@mail.gmail.com>
Subject: Re: [gentoo-user] How to record memory usage & bandwidth usage?
From: Matthew Marlowe <matt@professionalsysadmin.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 3705a2556f4fbdc7cd1d6dc2cecaebd0

Pandu,

Any  modern monitoring framework/server with a web interface will have
tools to select metrics to retrieve and store into a database and
display/graph/alert as needed using whatever reasonable collection
interval you define.
If your metrics are relatively simple, you should be able to get a
solution implemented rather quickly without having to write any of
your own code and the overhead/resources needed on your server would
just be proportional to the number of metrics collected and their
frequency.

My current monitoring tool of choice is zabbix, but there are many options.

Matt

On Tue, Oct 11, 2011 at 3:21 AM, Mick <michaelkintzios@gmail.com> wrote:
> On Tuesday 11 Oct 2011 10:48:31 Pandu Poluan wrote:
>> The head honcho of my company just asked me to "plan for migration of
>> X into the cloud" (where "X" is the online trading server that our
>> investors used).
>>
>> Now, I need to monitor how much RAM is used throughout the day by X,
>> also how much bandwidth gets eaten by X throughout the day.
>>
>> What tools do you recommend?
>>
>> Remember: The data will be used for 'post-mortem' analysis, so I don't
>> need any fancy schmancy presentation. Just raw data, taken every N
>> seconds.
>
> I have used mrtg and nagios to capture and monitor both, but you'll have =
to
> install and configure them.
>
> If you're good with perl or python, then some simple script should be abl=
e to
> capture such values and record on a flat file, or even a database.
> --
> Regards,
> Mick
>



--=20
Matthew Marlowe
matt@professionalsysadmin.com
Senior Internet Infrastructure Consultant =A0 =A0 =A0 =A0 DevOps/VMware/Sys=
Admin
https://www.twitter.com/deploylinux =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 Gentoo Linux Dev

=A0 =A0 =A0 =A0 =A0 =A0"Courage is not simply one of the virtues, but the f=
orm
=A0 =A0 =A0 =A0 =A0 =A0 =A0 of every virtue at the testing point." =A0-- C.=
S. Lewis