[rrd-users] find top 10 in > 4000 rrd files
northdot9 at gmail.com
Thu Oct 2 16:18:47 CEST 2014
I'd like to suggest that you could sped this up big time on a multi core
device by using "parallel"
You do the extraction in parallel:
rrdtool graph /dev/null \
--start ... --end ... --step ... \
grep = > /ramdisk/$ip.$id.data
and then you cat all the small little files, and sort , print.
(probaby the rrdtool command line is what takes most of the computing
On Thu, Oct 2, 2014 at 4:29 AM, Rob Hassing <rob.hassing at deltics.nl> wrote:
> I am measuring the bandwidth usage of over 4000 ports in a network using
> The sFlow daemon I use generates a rrd file for each port.
> So I have over 4000 rrd files named: x.x.x.x-Y.rrd
> Where x.x.x.x is the ip address of the host and y is the portindex number.
> Now I would like to find the top 10 of bandwidth usage in these 4000 files.
> Anyone done something like this before or does somebody have an idea on how
> to do this?
> Thank you very much in advance
> Best regards,
> Rob Hassing
> View this message in context:
> Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rrd-users