Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 11:42:57 +0200
From:      Borja Marcos <borjam@sarenet.es>
To:        Stefan Parvu <sparvu@systemdatarecorder.org>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: I like iostat, but...
Message-ID:  <BD02068D-89C5-42AE-9C06-8F3539492A03@sarenet.es>
In-Reply-To: <20140923121945.8975311d308a1ff088dd90b0@systemdatarecorder.org>
References:  <20140922212209.GA9619@albert.catwhisker.org> <20140923113844.6f9e9584965dfd401f6943af@systemdatarecorder.org> <659899B2-1816-41FA-9DED-57416928A1EE@sarenet.es> <20140923121945.8975311d308a1ff088dd90b0@systemdatarecorder.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sep 23, 2014, at 11:19 AM, Stefan Parvu wrote:

>=20
>> Anyway, for disk stats GEOM offers a nice API. You can get delays per =
GEOM provider, bandwidths, etc.
>=20
> Are you talking about C consumers or I can do that using Perl, Sh ?
>=20
> Is there any way to consume the metrics via Perl, for example ? I =
could not find
> any decent documentation how to do that except some emails:
> =
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194081.htm=
l

C consumers, although of course you can write a Perl module in C in case =
you prefer Perl.

If the shock of reading atrocious code won't make you pull your eyes out =
of your sockets I
can send you the latest version of devilator a FreeBSD specific data =
collector for Orca
(https://www.orcaware.com/orca/).

It fetches several system stats (CPU usage, memory usage, etc) and =
creates text files
with a timestamp. Orca generates RRD databases and graphs consuming that =
data.=20

The code is ugly as hell (it's always been an evolving hack) but it =
works, I've been using it
for years. Maybe it will help to do your own version if you wish.




Borja.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BD02068D-89C5-42AE-9C06-8F3539492A03>